The user c12gene requested a solution to display the most recent forum search results by default instead of the oldest, aiming to improve user experience. Initially, supermathie suggested using the search prefer recent posts setting or adding order:latest to the search query, but c12gene found the setting ineffective. pfaffman reinforced the suggestion to check the site setting, while supermathie proposed a theme component to add a
What would you like done? Need someone to code our forum so the search results display newest content first as opposed to oldest content. Please see the image I attached…
For example, when I type the word gold into our search bar, top results are from 2020. It would benefit our members more if the results returned in chronological order from newest to oldest.
Hey @supermathie would you be able to implement this for us? I have zero coding skills. The goal here is to code this so I do not have to educate my users on how to use advanced search features.
My JS skills are limited and I’m busy with backend work.
That said, I suspect this could be a pretty simple theme component if someone were to take it on. It could modify the search bar to add ordering buttons right at time of search and not require any backend changes.
That puts the functionality you need front and centre for your users at time of search without requiring backend search changes or Yet Another Site Setting.