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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-3 / +2 lines)
Lines 225-231 Link Here
225
            <a>
225
            <a>
226
            <xsl:choose>
226
            <xsl:choose>
227
            <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]">
227
            <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]">
228
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/></xsl:attribute>
228
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
229
            </xsl:when>
229
            </xsl:when>
230
            <xsl:otherwise>
230
            <xsl:otherwise>
231
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Host-item:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute>
231
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Host-item:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute>
Lines 242-248 Link Here
242
            <a>
242
            <a>
243
            <xsl:choose>
243
            <xsl:choose>
244
            <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]">
244
            <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]">
245
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/></xsl:attribute>
245
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/>+not+(bib-level:a+or+bib-level:b)</xsl:attribute>
246
            </xsl:when>
246
            </xsl:when>
247
            <xsl:otherwise>
247
            <xsl:otherwise>
248
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute>
248
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute>
249
- 

Return to bug 7609