[Koha-bugs] [Bug 14371] Facets should be sorted by label (displayed) not title (link value)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 19 16:21:28 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14371
Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #40324|0 |1
is obsolete| |
--- Comment #6 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 40381
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40381&action=edit
[SIGNED-OFF] Bug 14371 - Facets should be sorted by label (displayed) not title
(link value)
This patch changes one small line in catalogue/search.pl and opac/opac-search
to sort facets by:
facet_label_value
instead of
facet_title_value
To test:
1 - Perform a search with results in two branches e.g. Centerville (code CPL)
and Fairfield (code FPL)
2 - Notice that branch facets appear correctly sorted
3 - Rename the branches Centervile->Zebra and Fairfeild->Aardvark (but don't
change codes)
4 - Repeat original search
5 - Note that branch facets are no longer correctly sorted
6 - Apply patch
7 - Repeat search
8 - Facets should be correctly sorted
9 - Test in both staff and opac search
10 - Ensure there are no unintended consequences/regressions
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Work as described, staff AND opac
No errors
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list