Bug 39088: Correctly prefix url with protocol when OPACURLOpenInNewWindow on the OPAC result page
There is certainly something better to do as the xsl for the OPACDetail is calling it only once, but it needs more work. Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
ff71f51b65
commit
ccc66e682b
|
|
@ -1245,7 +1245,15 @@
|
|||
<xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:call-template name="AddMissingProtocol">
|
||||
<xsl:with-param name="resourceLocation" select="marc:subfield[@code='u']"/>
|
||||
<xsl:with-param name="indicator1" select="@ind1"/>
|
||||
<xsl:with-param name="accessMethod" select="marc:subfield[@code='2']"/>
|
||||
</xsl:call-template>
|
||||
<xsl:value-of select="marc:subfield[@code='u']"/>
|
||||
</xsl:attribute>
|
||||
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
|
|
|
|||
Loading…
Reference in New Issue