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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-4 / +4 lines)
Lines 222-228 Link Here
222
                        <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+AND+(bib-level:a+OR+bib-level:b)</xsl:attribute>
222
                        <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+AND+(bib-level:a+OR+bib-level:b)</xsl:attribute>
223
                    </xsl:when>
223
                    </xsl:when>
224
                    <xsl:otherwise>
224
                    <xsl:otherwise>
225
                        <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/></xsl:attribute>
225
                        <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/:', ''), true())"/></xsl:attribute>
226
                    </xsl:otherwise>
226
                    </xsl:otherwise>
227
                </xsl:choose>
227
                </xsl:choose>
228
                <xsl:text>Show analytics</xsl:text>
228
                <xsl:text>Show analytics</xsl:text>
Lines 239-245 Link Here
239
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+NOT+(bib-level:a+OR+bib-level:b)</xsl:attribute>
239
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+NOT+(bib-level:a+OR+bib-level:b)</xsl:attribute>
240
            </xsl:when>
240
            </xsl:when>
241
            <xsl:otherwise>
241
            <xsl:otherwise>
242
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/></xsl:attribute>
242
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/:', ''), true())"/></xsl:attribute>
243
            </xsl:otherwise>
243
            </xsl:otherwise>
244
            </xsl:choose>
244
            </xsl:choose>
245
            <xsl:text>Show volumes</xsl:text>
245
            <xsl:text>Show volumes</xsl:text>
Lines 257-266 Link Here
257
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
257
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
258
            </xsl:when>
258
            </xsl:when>
259
            <xsl:otherwise>
259
            <xsl:otherwise>
260
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', ''), true())"/></xsl:attribute>
260
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.:', ''), true())"/></xsl:attribute>
261
            </xsl:otherwise>
261
            </xsl:otherwise>
262
            </xsl:choose>
262
            </xsl:choose>
263
            <xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')" />
263
            <xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.:', '')" />
264
            </a>
264
            </a>
265
            <xsl:choose>
265
            <xsl:choose>
266
                <xsl:when test="position()=last()"></xsl:when>
266
                <xsl:when test="position()=last()"></xsl:when>
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl (-1 / +1 lines)
Lines 211-217 Link Here
211
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
211
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
212
            </xsl:when>
212
            </xsl:when>
213
            <xsl:otherwise>
213
            <xsl:otherwise>
214
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/></xsl:attribute>
214
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/:', ''), true())"/></xsl:attribute>
215
            </xsl:otherwise>
215
            </xsl:otherwise>
216
            </xsl:choose>
216
            </xsl:choose>
217
            <xsl:text>Show analytics</xsl:text>
217
            <xsl:text>Show analytics</xsl:text>
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl (-1 / +1 lines)
Lines 411-417 Link Here
411
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
411
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
412
            </xsl:when>
412
            </xsl:when>
413
            <xsl:otherwise>
413
            <xsl:otherwise>
414
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/></xsl:attribute>
414
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/:', ''), true())"/></xsl:attribute>
415
            </xsl:otherwise>
415
            </xsl:otherwise>
416
            </xsl:choose>
416
            </xsl:choose>
417
            <xsl:text>Show analytics</xsl:text>
417
            <xsl:text>Show analytics</xsl:text>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-4 / +4 lines)
Lines 257-263 Link Here
257
                        <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+AND+(bib-level:a+OR+bib-level:b)</xsl:attribute>
257
                        <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+AND+(bib-level:a+OR+bib-level:b)</xsl:attribute>
258
                    </xsl:when>
258
                    </xsl:when>
259
                    <xsl:otherwise>
259
                    <xsl:otherwise>
260
                        <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/></xsl:attribute>
260
                        <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/:', ''), true())"/></xsl:attribute>
261
                    </xsl:otherwise>
261
                    </xsl:otherwise>
262
                </xsl:choose>
262
                </xsl:choose>
263
                <xsl:text>Show analytics</xsl:text>
263
                <xsl:text>Show analytics</xsl:text>
Lines 274-280 Link Here
274
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+NOT+(bib-level:a+OR+bib-level:b)</xsl:attribute>
274
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+NOT+(bib-level:a+OR+bib-level:b)</xsl:attribute>
275
            </xsl:when>
275
            </xsl:when>
276
            <xsl:otherwise>
276
            <xsl:otherwise>
277
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/></xsl:attribute>
277
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/:', ''), true())"/></xsl:attribute>
278
            </xsl:otherwise>
278
            </xsl:otherwise>
279
            </xsl:choose>
279
            </xsl:choose>
280
            <xsl:text>Show volumes</xsl:text>
280
            <xsl:text>Show volumes</xsl:text>
Lines 292-301 Link Here
292
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
292
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
293
            </xsl:when>
293
            </xsl:when>
294
            <xsl:otherwise>
294
            <xsl:otherwise>
295
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', ''), true())"/></xsl:attribute>
295
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.:', ''), true())"/></xsl:attribute>
296
            </xsl:otherwise>
296
            </xsl:otherwise>
297
            </xsl:choose>
297
            </xsl:choose>
298
            <xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')" />
298
            <xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.:', '')" />
299
            </a>
299
            </a>
300
            <xsl:choose>
300
            <xsl:choose>
301
                <xsl:when test="position()=last()"></xsl:when>
301
                <xsl:when test="position()=last()"></xsl:when>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl (-1 / +1 lines)
Lines 240-246 Link Here
240
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
240
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
241
            </xsl:when>
241
            </xsl:when>
242
            <xsl:otherwise>
242
            <xsl:otherwise>
243
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/></xsl:attribute>
243
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/:', ''), true())"/></xsl:attribute>
244
            </xsl:otherwise>
244
            </xsl:otherwise>
245
            </xsl:choose>
245
            </xsl:choose>
246
            <xsl:text>Show analytics</xsl:text>
246
            <xsl:text>Show analytics</xsl:text>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACResults.xsl (-2 / +1 lines)
Lines 399-405 Link Here
399
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
399
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
400
            </xsl:when>
400
            </xsl:when>
401
            <xsl:otherwise>
401
            <xsl:otherwise>
402
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/></xsl:attribute>
402
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/:', ''), true())"/></xsl:attribute>
403
            </xsl:otherwise>
403
            </xsl:otherwise>
404
            </xsl:choose>
404
            </xsl:choose>
405
            <xsl:text>Show analytics</xsl:text>
405
            <xsl:text>Show analytics</xsl:text>
406
- 

Return to bug 27575