Mozilla Hispano uses our search api (&format=json) to search our KB. They have a use case for getting the articles sorted by popularity. This is what we currently do for sorting article listings in the IA (`s.order_by('-document_recent_helpful_votes')`). We should add the option to Advanced Search and handle a `&sortby=helpfulvotes` (or similar) parameter. See https://github.com/mozillahispano/asitencia-fb/issues/3
I think this is a 2 pter. It involves: * Adding sortby to the form and UI * Handling the new sortby parameter in the view * Tests Assigning to next sprint for now so we can talk about it during planning.
Whiteboard: u=contributor c=search p=2 s=2012.22
Repository name has changed since it's going to be localized into other languages ;) The issue can be found now here: https://github.com/mozillahispano/asksumo-fb/issues/3
In a pull request: https://github.com/mozilla/kitsune/pull/960
Landed and deployed: https://github.com/mozilla/kitsune/commit/ede4acdfbf7878f7e8a43927812f852c5dcfa2fa To sort by "popularity" (technically, we are sorting by # of recent helpful votes) add `&sortby_documents=helpful`. For example: https://support.mozilla.org/es/search?sortby_documents=helpful&w=1&a=1
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.