View | Details | Raw Unified | Return to bug 7609
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl (-3 / +2 lines)
Lines 231-237 Link Here
231
            <a>
231
            <a>
232
            <xsl:choose>
232
            <xsl:choose>
233
            <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]">
233
            <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]">
234
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/></xsl:attribute>
234
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
235
            </xsl:when>
235
            </xsl:when>
236
            <xsl:otherwise>
236
            <xsl:otherwise>
237
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute>
237
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute>
Lines 248-254 Link Here
248
            <a>
248
            <a>
249
            <xsl:choose>
249
            <xsl:choose>
250
            <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]">
250
            <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]">
251
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/></xsl:attribute>
251
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/>+not+(bib-level:a+or+bib-level:b)</xsl:attribute>
252
            </xsl:when>
252
            </xsl:when>
253
            <xsl:otherwise>
253
            <xsl:otherwise>
254
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute>
254
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute>
255
- 

Return to bug 7609