# 论坛搜索结果默认显示最新帖子，而不是最早的帖子

**URL:** <https://meta.discourse.org/t/need-forum-search-results-to-display-most-recent-posts-by-default-as-opposed-to-oldest/271059>\
**Category:** Marketplace\
**Created:** [2023 年7 月 9 日 23:36 UTC](https://meta.discourse.org/t/need-forum-search-results-to-display-most-recent-posts-by-default-as-opposed-to-oldest/271059 "2023-07-09T23:36:16Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

作者： ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
发布日期： [2023 年7 月 10 日 01:35 UTC](https://meta.discourse.org/t/need-forum-search-results-to-display-most-recent-posts-by-default-as-opposed-to-oldest/271059/5 "2023-07-10T01:35:28Z")

</div>

我的 JS 技能有限，而且我正忙于后端工作。🤣

话虽如此，但我怀疑如果有人愿意接手，这可能是一个非常简单的主题组件。它可以修改搜索栏，在搜索时直接添加“排序”按钮，而无需进行任何后端更改。

这样一来，您的用户在搜索时就能将所需功能放在最前面，而无需进行后端搜索更改或添加另一个站点设置。

---

_[View the full topic](https://meta.discourse.org/t/need-forum-search-results-to-display-most-recent-posts-by-default-as-opposed-to-oldest/271059)._
