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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (+22 lines)
Lines 239-244 Link Here
239
                            </xsl:call-template>
239
                            </xsl:call-template>
240
                        </a>
240
                        </a>
241
                    </xsl:when>
241
                    </xsl:when>
242
                    <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'">
243
                        <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute>
244
                            <xsl:call-template name="chopPunctuation">
245
                                <xsl:with-param name="chopString">
246
                                    <xsl:call-template name="subfieldSelect">
247
                                        <xsl:with-param name="codes">a_t</xsl:with-param>
248
                                    </xsl:call-template>
249
                                </xsl:with-param>
250
                            </xsl:call-template>
251
                        </a>
252
                    </xsl:when>
242
                    <xsl:otherwise>
253
                    <xsl:otherwise>
243
                        <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='t'], true())"/>"&amp;q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
254
                        <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='t'], true())"/>"&amp;q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
244
                            <xsl:call-template name="chopPunctuation">
255
                            <xsl:call-template name="chopPunctuation">
Lines 270-275 Link Here
270
                            </xsl:call-template>
281
                            </xsl:call-template>
271
                        </a>
282
                        </a>
272
                    </xsl:when>
283
                    </xsl:when>
284
                    <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'">
285
                        <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute>
286
                            <xsl:call-template name="chopPunctuation">
287
                                <xsl:with-param name="chopString">
288
                                    <xsl:call-template name="subfieldSelect">
289
                                        <xsl:with-param name="codes">a_t</xsl:with-param>
290
                                    </xsl:call-template>
291
                                </xsl:with-param>
292
                            </xsl:call-template>
293
                        </a>
294
                    </xsl:when>
273
                    <xsl:otherwise>
295
                    <xsl:otherwise>
274
                        <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
296
                        <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
275
                            <xsl:call-template name="chopPunctuation">
297
                            <xsl:call-template name="chopPunctuation">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-1 / +22 lines)
Lines 258-263 Link Here
258
                            </xsl:call-template>
258
                            </xsl:call-template>
259
                        </a>
259
                        </a>
260
                    </xsl:when>
260
                    </xsl:when>
261
                    <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'">
262
                        <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute>
263
                            <xsl:call-template name="chopPunctuation">
264
                                <xsl:with-param name="chopString">
265
                                    <xsl:call-template name="subfieldSelect">
266
                                        <xsl:with-param name="codes">a_t</xsl:with-param>
267
                                    </xsl:call-template>
268
                                </xsl:with-param>
269
                            </xsl:call-template>
270
                        </a>
271
                    </xsl:when>
261
                    <xsl:otherwise>
272
                    <xsl:otherwise>
262
                        <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='t'], true())"/>"&amp;q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
273
                        <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='t'], true())"/>"&amp;q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
263
                            <xsl:call-template name="chopPunctuation">
274
                            <xsl:call-template name="chopPunctuation">
Lines 288-293 Link Here
288
                            </xsl:call-template>
299
                            </xsl:call-template>
289
                        </a>
300
                        </a>
290
                    </xsl:when>
301
                    </xsl:when>
302
                    <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'">
303
                        <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute>
304
                            <xsl:call-template name="chopPunctuation">
305
                                <xsl:with-param name="chopString">
306
                                    <xsl:call-template name="subfieldSelect">
307
                                        <xsl:with-param name="codes">a_t</xsl:with-param>
308
                                    </xsl:call-template>
309
                                </xsl:with-param>
310
                            </xsl:call-template>
311
                        </a>
312
                    </xsl:when>
291
                    <xsl:otherwise>
313
                    <xsl:otherwise>
292
                        <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
314
                        <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
293
                            <xsl:call-template name="chopPunctuation">
315
                            <xsl:call-template name="chopPunctuation">
294
- 

Return to bug 23437