Koha/koha-tmpl/intranet-tmpl/prog/en/xslt
Tomas Cohen Arazi e1b63d9df3
Bug 31106: Fix links generated in XSLTs
This patch addresses the case of links that are generated on the XSLT
side, those linking to and from host records using 773$t and 773$a.

To test:
1. Pick a bibliographic record (I chose 'Unconditional' from the sample
   data
2. Add " and ? to the title statement. I changed it to
   'Uncond"itional?¿'
3. Add a child record to it
4. Open the detail page for the host record
=> FAIL: It doesn't show the 'Show analytics' link
5. Repeat 4 for the same record, in the OPAC
=> FAIL: It doesn't show the 'Show analytics' link
6. Apply this patch
7. Repeat 4 and 5.
=> SUCCESS: Links are shown!
8. Follow the links
=> SUCCESS: The links take you to the right resultset!
9. Go to the child record, and notice the link back to the parent works
   :-D
10. Sign off :-D

Sponsored-by: Theke Solutions
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-18 14:37:36 -03:00
..
compact.xsl Bug 12966: Add edition field to Card view 2021-02-15 11:57:27 +01:00
Del9LinksExcept952.xsl Bug 6681: introduce XSLT scripts to remove items and links 2014-11-14 09:31:36 -03:00
Del9LinksExcept995.xsl Bug 6681: introduce XSLT scripts to remove items and links 2014-11-14 09:31:36 -03:00
Del952.xsl Bug 6681: introduce XSLT scripts to remove items and links 2014-11-14 09:31:36 -03:00
Del995.xsl Bug 6681: introduce XSLT scripts to remove items and links 2014-11-14 09:31:36 -03:00
identity.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21Languages.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slim2ATOM.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slim2DC.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slim2intranetDetail.xsl Bug 31106: Fix links generated in XSLTs 2022-07-18 14:37:36 -03:00
MARC21slim2intranetResults.xsl Bug 29406: Improve display of OPAC suppression message 2021-12-01 20:19:59 -10:00
MARC21slim2MADS.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slim2MODS.xsl Bug 29556: MARC21slim2MODS.xsl broken by duplicate template name "part" 2021-12-02 21:01:10 -10:00
MARC21slim2MODS3-1.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slim2OAIDC.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slim2RDFDC.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slim2RDFDC.xsl.1 Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slim2RSS2.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slim2SRWDC.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slim9522852.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slimUtils-MODS31.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slimUtils.xsl Bug 31106: Fix links generated in XSLTs 2022-07-18 14:37:36 -03:00
MARC21slimUtils2.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
oilsMARC21slim2HTML.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
plainMARC.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
UNIMARC_compact.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
UNIMARCauthResults.xsl Bug 11083: Add sample XSLT for UNIMARC authorities 2022-04-08 15:49:15 +02:00
UNIMARCslim2intranetDetail.xsl Bug 30430: (QA follow-up) fix display of 210 only if no 214 + added 214r/s 2022-07-01 16:51:32 -03:00
UNIMARCslim2intranetResults.xsl Bug 30430: (QA follow-up) fix display of 210 only if no 214 + added 214r/s 2022-07-01 16:51:32 -03:00
UNIMARCslim2OAIDC.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
UNIMARCslim2RDFDC.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
UNIMARCslim2SRWDC.xsl Bug 25381: (QA follow-up) Fix occurence in the one file that escaped 2021-01-22 13:46:40 +01:00
UNIMARCslimUtils.xsl Bug 30430: (QA follow-up) Several fixes 2022-07-01 16:51:43 -03:00