[Koha-bugs] [Bug 27575] Search "Analytics: Show analytics" broken when records title ends with ":"
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 29 10:50:58 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27575
--- Comment #2 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 116013
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116013&action=edit
Bug 27575: Search "Analytics: Show analytics" broken when records title ends
with ":"
In MARC21 XSLT display, link to analytics is composed with a search on
"q=Host-item:" + 245$a
When 245$a ends with a ":" (because of subtitle $b) the search does not find
linked records.
They contain 773$t not ending with ":".
I see many places in XSLT use translate() to remove "." or "/", I add ":"
Test plan :
1) Go to a record with analytics
2) Edit 245$a to add " :" at the end
3) On staff interface and OPAC: Click on "Show analytics"
4) Check results are OK
5) Same for volumes and sets
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list