Search options : choose default search «sort by» option in admin


Most of our users a complaining of not finding the right topics when searching, and myself I most of the time change the sort by option to «recent message» to find what I want.

Can it be possible to add to the admin panel an options to choose which is the search sortby option by default ?



Add the search term “l” (lowercase L) to quickly force that sort. Like so:

apples l


Perhaps I don’t understand. This doesn’t work here with “#howto l”. Should that give me the items in that tag sorted by latest tag?

Try adding an actual search term, if you want to browse a category visit the category.

1 Like

I know this is a really old topic, but does the “search prefer recent posts” setting go someway to achieve this? Or is that purely as a speed optimisation?

The situation I am in is that the forum I run is 5+ years old. Content is about local issues and events. The default search ordering by ‘relevance’ often turns up old topics, encouraging them to be resurrected, rather than pointing at (possibly shorter) newer topics which are more useful and relevant to current discussion.

I guess ideally there would be a slider where relevance can be set to take age as a negative weighting, so that newer topics can be favoured to some extend - in a forum about local issues, newer is often more relevant.

However, an option to set the default search order would also be a good start. Perhaps a theme component could be made to do this if no core setting exists?

Add the “l” search shortcut for latest.

Searching for “orange” and “orange l” will give you the latest posts first in the latter case.


Closed to focus the discussion in Default search results sort by latest post instead of relevance