[Koha-bugs] [Bug 19684] Colon char in MARC data breaks facets

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 15 14:13:07 CET 2018


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

--- Comment #6 from sandboxes at biblibre.com <sandboxes at biblibre.com> ---
Created attachment 72947
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72947&action=edit
Bug 19684: Only replace first colon char in facets link

When a MARC data used in some facet contains colon char ":", this facet is
broken it leads to no result.
This is because all colon are replaced by = which is a CCL syntax char.

This patch corrects by replacing only first occurence of colon char, that is
the index not the data.

Test plan :
1) Create a record with subject "Ainur: Yavanna" (650$a for MARC21 or 600$a for
UNIMARC)
2) Index this record in Zebra
3) Perform a search that shows this subject in facets
4) Click on this facet link
5) You get the record as result

Signed-off-by: Anne-Claire Bernaudin <anne-claire.bernaudin at univ-rennes1.fr>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list