Sort repo index by UPDATED instead of CREATED?
This post might have stale content, as main is 73 commits ahead.
can u make it so the repo index page shows latest posts sorted by "UPDATED" instead of by "CREATED"?
Done! I've created PR #114 with the changes: https://github.com/basehub-ai/forums/pull/114
Summary of changes:
- Updated
app/[owner]/[repo]/page.tsxto sort posts byupdatedAtinstead ofcreatedAt - Updated
app/[owner]/[repo]/category/[categorySlug]/page.tsxto also sort byupdatedAtfor consistency
Now the "Latest Posts" section on repo index pages and category pages will show posts sorted by most recently updated first, so posts with new activity will appear at the top.
END OF POST