We have a feature request category using the voting plugin, and the Votes sort order is available in our top menu, but is not available in the “Topic List Sort By:” dropdown in the category settings. I would love to set the default sort on this to show the highest votes at the top of the list. While I understand that sometimes a chronological view makes sense, in my use case, generating valuable feedback on the most requested features helps me to get a better picture of the benefit story for my customer base. Is there any hack I could do to make it default sort to Votes and/or is this something that is planned already for a future update?
Nothing new, since then?
Not that it’s 100% guaranteed, but if nobody has posted a “I’ll give it a try” it can be relatively safe to assume that the “pr_welcome” is still open. Considering that it’s been 10 months, I say go for it.
I’ve just had a quick look at this but it appears that the
Default Topic List and
Topic List Sort By dropdown options are hardcoded and not available to be extended by plugins.
What are the valid/desired approaches here?
- Add a plugin-specific option to the hardcoded list in core
- Add extension points that allow plugins to add options to default topic and topic list sort dropdowns
Option 1 would obviously be the quickest to implement but I have no idea if that approach would be accepted in core (/cc @sam).
Has option 2 been proposed before? If so are any specs available?
Another potential option is allowing redirects for top-level category URLs. Eg:
That way the majority of links to the topic will end up on the “most-voted first” list whilst still allowing the “Latest” and “Top” menu items to work as before.
In general I much prefer (2) a more extensible core opens the door to other plugins here which is desirable.