[Bug] Sort dropdown on Forums page does not work
Description
On the Forums page, clicking any of the sort options from the Sort dropdown, Newest, Oldest, Most Liked, Most Viewed, or Most Commented, does not do anything. The list of forum posts stays in the same order regardless of which option is selected.
Current Behavior
Clicking any sort option from the dropdown has no effect on the order of the forum posts displayed.
Expected Behavior
Selecting an option from the Sort dropdown should reorder the forum posts accordingly. For example, selecting Newest should show the most recently posted questions first, and Most Liked should bring the most liked posts to the top.
Steps to Reproduce
Open the Forums page, click the Sort dropdown, select any option, and observe that the post order does not change.
Suggested Fix
Check if the sort options are connected to any state or filtering logic. If not, implement a sort handler that takes the selected option and reorders the posts array accordingly before rendering.
Labels: bug, good first issue
Hello jasmeetc27, Thanks for opening an issue in HelpOps-Hub! 🚀
-
Please make sure to follow our Contributing Guidelines.
-
Hope you star our Repo.
-
Join our official Discord server, where we can collaborate and discuss how to make HelpOps-Hub even better and more professional.
-
Don’t forget to follow us on LinkedIn!
I’d like to work on this issue under GSSoC, the sorting dropdown currently changes visually but the forum posts are not being reordered after selection, I can implement the required sorting logic by connecting the selected option with state management and dynamically updating the rendered posts based on criteria like newest, oldest, likes, views, and comments, I’ll also verify that the changes work consistently without affecting existing forum functionality.
Hey @mdazfar2! I'd love to fix this under GSSoC 2026. I'll connect the sort dropdown selection to the posts state, implement sort handlers for Newest, Oldest, Most Liked, Most Viewed, and Most Commented, and make sure the posts re-render correctly without breaking any existing forum functionality. Can I get assigned?
Hi @mdazfar2 I raised the issue and would like to work on it. I am GSSoC'26 contributor. Please assign it to me! 🙏🏻
This issue has been automatically closed because it has been inactive for more than 30 days. If you believe this is still relevant, feel free to reopen it or create a new one. Thank you!