In MARC21 XSLT display, link to analytics is composed with a search on "q=Host-item:" + 245$a When 245$a ends with a ":" 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 ":"
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
Maybe cause by something like Bug 19684
Maybe solved by Bug 28513
*** This bug has been marked as a duplicate of bug 29418 ***