Summary: | Search "Analytics: Show analytics" broken when records title ends with ":" | ||
---|---|---|---|
Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
Component: | Cataloging | Assignee: | Fridolin Somers <fridolin.somers> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | m.de.rooy |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15851 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19684 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28513 |
||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: | Bug 27575: Search "Analytics: Show analytics" broken when records title ends with ":" |
Description
Fridolin Somers
2021-01-29 08:49:50 UTC
I see many places in XSLT use translate() to remove "." or "/", I add ":" Created attachment 116013 [details] [review] 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 |