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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-2 / +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>
(-)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