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 234-239 Link Here
234
                            </xsl:call-template>
234
                            </xsl:call-template>
235
                        </a>
235
                        </a>
236
                    </xsl:when>
236
                    </xsl:when>
237
                    <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'">
238
                        <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>
239
                            <xsl:call-template name="chopPunctuation">
240
                                <xsl:with-param name="chopString">
241
                                    <xsl:call-template name="subfieldSelect">
242
                                        <xsl:with-param name="codes">a_t</xsl:with-param>
243
                                    </xsl:call-template>
244
                                </xsl:with-param>
245
                            </xsl:call-template>
246
                        </a>
247
                    </xsl:when>
237
                    <xsl:otherwise>
248
                    <xsl:otherwise>
238
                        <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>
249
                        <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>
239
                            <xsl:call-template name="chopPunctuation">
250
                            <xsl:call-template name="chopPunctuation">
Lines 265-270 Link Here
265
                            </xsl:call-template>
276
                            </xsl:call-template>
266
                        </a>
277
                        </a>
267
                    </xsl:when>
278
                    </xsl:when>
279
                    <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'">
280
                        <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>
281
                            <xsl:call-template name="chopPunctuation">
282
                                <xsl:with-param name="chopString">
283
                                    <xsl:call-template name="subfieldSelect">
284
                                        <xsl:with-param name="codes">a_t</xsl:with-param>
285
                                    </xsl:call-template>
286
                                </xsl:with-param>
287
                            </xsl:call-template>
288
                        </a>
289
                    </xsl:when>
268
                    <xsl:otherwise>
290
                    <xsl:otherwise>
269
                        <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
291
                        <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
270
                            <xsl:call-template name="chopPunctuation">
292
                            <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