http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12478 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43345|0 |1 is obsolete| | Attachment #43346|0 |1 is obsolete| | Attachment #43347|0 |1 is obsolete| | Attachment #43348|0 |1 is obsolete| | Attachment #43349|0 |1 is obsolete| | Attachment #43350|0 |1 is obsolete| | Attachment #43351|0 |1 is obsolete| | --- Comment #167 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 43373 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43373&action=edit Bug 12478: Display facet terms ordered by number of occurrences By default ES returns the facet terms ordered by most used, which makes sense. This patch removes resort done in the scripts (catalogue/search.pl and opac/opac-search.pl) and moves it to the module. For Zebra it's now done in C4::Search::getRecords, and there is no change to expect (still alphabetically). On the Elastic search side, we could imagine to let the library define the order of the facets. The facet terms are now sorted by most used. To test easily this change, turn on the displayFacetCount pref. -- You are receiving this mail because: You are watching all bug changes.