Koha/opac
Jonathan Druart 8d04291153 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.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-26 20:20:12 +00:00
..
errors Bug 15288: Error pages: Code duplication removal and better translatability 2016-01-27 05:57:34 +00:00
rss
sco Bug 12663 - SCOUserCSS and SCOUserJS ignored on selfcheck login page 2016-04-22 00:57:44 +00:00
svc Bug 10988 - Fix some wording Fix some outdated wording in googleopenidconnect 2016-04-01 19:25:36 +00:00
elasticsearch.pl Bug 12478 - pile of elasticsearch code 2016-04-26 20:20:03 +00:00
ilsdi.pl Bug 14257 - Add show_attributes to GetPatronInfo 2016-03-31 20:31:06 +00:00
maintenance.pl
oai.pl
opac-account-pay-paypal-return.pl Bug 16129: Remove URL::Encode dependency 2016-04-01 18:48:18 +00:00
opac-account-pay.pl Bug 16129: Remove URL::Encode dependency 2016-04-01 18:48:18 +00:00
opac-account.pl
opac-addbybiblionumber.pl Bug 6322 - It's possible to view lists/virtualshelves even when virtualshelves is off 2016-01-27 02:31:42 +00:00
opac-alert-subscribe.pl
opac-authorities-home.pl Bug 12478: allow more granular sorting configuration 2016-04-26 20:20:08 +00:00
opac-authoritiesdetail.pl Bug 15550: Fix authority search and detail at the OPAC 2016-01-23 18:34:06 +00:00
opac-basket.pl
opac-blocked.pl
opac-browser.pl
opac-changelanguage.pl
opac-course-details.pl
opac-course-reserves.pl
opac-detail.pl Bug 5979 : OPAC : using OPACISBD systempreference to display link 2016-04-22 03:14:21 +00:00
opac-discharge.pl Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
opac-downloadcart.pl
opac-downloadshelf.pl Bug 6322 - It's possible to view lists/virtualshelves even when virtualshelves is off 2016-01-27 02:31:42 +00:00
opac-export.pl Bug 13642 - Adding new features for Dublin Core metadata 2016-01-27 06:23:07 +00:00
opac-ics.pl
opac-idref.pl
opac-image.pl
opac-imageviewer.pl
opac-ISBDdetail.pl Bug 16169: Change prototype for C4::Biblio::TransformMarcToKoha 2016-04-07 00:04:21 +00:00
opac-main.pl Bug 15613: Fix 2 other occurrences of paramter vs parameter 2016-01-27 05:16:23 +00:00
opac-MARCdetail.pl Bug 5979 : OPAC : using OPACISBD systempreference to display link 2016-04-22 03:14:21 +00:00
opac-memberentry.pl Bug 15635: Koha::Patron::Images - Remove GetPatronImage 2016-03-04 12:54:15 +00:00
opac-messaging.pl Bug 9021: Save the provider even if the sms number is not modified 2016-02-14 12:40:08 +00:00
opac-modrequest-suspend.pl
opac-modrequest.pl
opac-mymessages.pl
opac-news-rss.pl
opac-overdrive-search.pl
opac-passwd.pl
opac-password-recovery.pl Bug 15585 - Move C4::Passwordrecovery to the new namespace Koha::Patron::Password::Reset 2016-03-22 23:08:21 +00:00
opac-patron-image.pl Bug 15635: Koha::Patron::Images - Remove GetPatronImage 2016-03-04 12:54:15 +00:00
opac-privacy.pl Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
opac-ratings-ajax.pl
opac-ratings.pl Bug 16179: Do not crash if "rate me" is clicked and not rate selected 2016-04-20 19:50:00 +00:00
opac-readingrecord.pl
opac-registration-verify.pl Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
opac-renew.pl
opac-reserve.pl Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
opac-restrictedpage.pl
opac-retrieve-file.pl
opac-review.pl
opac-search-history.pl
opac-search.pl Bug 12478: Display facet terms ordered by number of occurrences 2016-04-26 20:20:12 +00:00
opac-sendbasket.pl Bug 14306: Show URL from MARC21 field 555$u under Title Notes/Descriptions 2016-03-07 17:58:32 +00:00
opac-sendshelf.pl Bug 14306: Remove call to GetMarcNotes from sendshelf 2016-03-07 17:58:33 +00:00
opac-serial-issues.pl
opac-shareshelf.pl Bug 16317 - Attempt to share private list results in error 2016-04-22 22:47:34 +00:00
opac-shelves.pl Bug 16296 - Fix records displaying in virtualshelves 2016-04-22 22:50:41 +00:00
opac-showmarc.pl
opac-showreviews.pl
opac-suggestions.pl Bug 16198: Fix regression in OPAC suggestions 2016-04-06 22:05:49 +00:00
opac-tags.pl
opac-tags_subject.pl
opac-topissues.pl
opac-user.pl Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
tracklinks.pl
unapi Bug 15162 Add for Unimarc XSL trans for RDF-DC & SRW-DC 2016-01-27 06:00:35 +00:00