[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 Nov 23 11:37:02 CET 2017


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

--- Comment #1 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 69301
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69301&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

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


More information about the Koha-bugs mailing list