https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25838

            Bug ID: 25838
           Summary: Sort facets values by number of occurrences (Zebra)
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching - Zebra
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: fridolin.som...@biblibre.com

Actually with Zebra facets values are sorted alphabetically.

This is a comment from Bug 12478 :
<<
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).
>>

Looks like the sort by number of occurrences is already done in
C4::Search::getRecords, it is an additionnal code that re-sort alphabetically.

This patch proposes to remove it in order to have same sort order between Zebra
and ES.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to