]> git.koha-community.org Git - koha.git/commit
Bug 29418: (follow-up) Fix links generated in XSLTs
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 5 Jul 2022 00:09:05 +0000 (21:09 -0300)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Thu, 14 Jul 2022 19:40:22 +0000 (21:40 +0200)
commita8cbd7147c99f8da03c3d0ef83bec5a175801d1d
tree156b9559c8a6bda43c9775218fae8cd19536763e
parent73d7d6602a753e72b77cb84fa53fa5fa398ac1ad
Bug 29418: (follow-up) Fix links generated in XSLTs

This patch addresses the case of links that are generated on the XSLT
side, those linking to host records using 773$t and 773$a.

To test:
1. Repeat the test plan from the other patches
2. When sitting on the detail view of the host record, click on the link
   to open the child.
=> SUCCESS: The link works, because of the previous patches
3. Click on the 'In:' link so the search takes you to the host record
=> FAIL: The link leads no results
4. Apply this patch
5. Restart all
6. Reload the child record page and click on the link
=> SUCCESS: Voila! The host record is retrieved!
7. Bonus points: Retry the full test plan, but add a " or ? to the
   author in both host and child records
=> SUCCESS: Things don't work before this patch, and work afterwards.
8. Sign off :-D

Sponsored-by: Theke Solutions
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl