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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-2 / +30 lines)
Lines 219-225 Link Here
219
        </xsl:for-each>
219
        </xsl:for-each>
220
        <!-- 490 Series traced, Ind1 = 1 -->
220
        <!-- 490 Series traced, Ind1 = 1 -->
221
        <xsl:if test="marc:datafield[@tag=490][@ind1=1]">
221
        <xsl:if test="marc:datafield[@tag=490][@ind1=1]">
222
            <xsl:for-each select="marc:datafield[@tag=800 or @tag=810 or @tag=811 or @tag=830]">
222
            <xsl:for-each select="marc:datafield[@tag=800 or @tag=810 or @tag=811]">
223
                <xsl:choose>
223
                <xsl:choose>
224
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
224
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
225
                        <a href="/cgi-bin/koha/catalogue/search.pl?q=rcn:{marc:subfield[@code='w']}">
225
                        <a href="/cgi-bin/koha/catalogue/search.pl?q=rcn:{marc:subfield[@code='w']}">
Lines 247-252 Link Here
247
                </xsl:choose>
247
                </xsl:choose>
248
                <xsl:text>: </xsl:text>
248
                <xsl:text>: </xsl:text>
249
                <xsl:value-of  select="marc:subfield[@code='v']" />
249
                <xsl:value-of  select="marc:subfield[@code='v']" />
250
251
            <xsl:for-each select="marc:datafield[@tag=830]">
252
                <xsl:choose>
253
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
254
                        <a href="/cgi-bin/koha/catalogue/search.pl?q=rcn:{marc:subfield[@code='w']}">
255
                            <xsl:call-template name="chopPunctuation">
256
                                <xsl:with-param name="chopString">
257
                                    <xsl:call-template name="subfieldSelect">
258
                                        <xsl:with-param name="codes">a_t</xsl:with-param>
259
                                    </xsl:call-template>
260
                                </xsl:with-param>
261
                            </xsl:call-template>
262
                        </a>
263
                    </xsl:when>
264
                    <xsl:otherwise>
265
                        <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
266
                            <xsl:call-template name="chopPunctuation">
267
                                <xsl:with-param name="chopString">
268
                                    <xsl:call-template name="subfieldSelect">
269
                                        <xsl:with-param name="codes">a_t</xsl:with-param>
270
                                    </xsl:call-template>
271
                                </xsl:with-param>
272
                            </xsl:call-template>
273
                        </a>
274
                        <xsl:call-template name="part"/>
275
                    </xsl:otherwise>
276
                </xsl:choose>
277
                <xsl:text>: </xsl:text>
278
                <xsl:value-of  select="marc:subfield[@code='v']" />
250
            <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
279
            <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
251
            </xsl:for-each>
280
            </xsl:for-each>
252
        </xsl:if>
281
        </xsl:if>
253
- 

Return to bug 21589