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

(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl (-3 / +2 lines)
Lines 214-220 Link Here
214
            <xsl:variable name="start" select="position()"/>
214
            <xsl:variable name="start" select="position()"/>
215
            <xsl:variable name="ends">
215
            <xsl:variable name="ends">
216
              <xsl:for-each select="../marc:subfield[position() &gt; $start]">
216
              <xsl:for-each select="../marc:subfield[position() &gt; $start]">
217
                <xsl:if test="@code=3 or @code=9 or @code=2">
217
                <xsl:if test="@code=9">
218
                  <xsl:variable name="end" select="position() + $start"/>
218
                  <xsl:variable name="end" select="position() + $start"/>
219
                  <xsl:value-of select="$end"/>
219
                  <xsl:value-of select="$end"/>
220
                  <xsl:text>,</xsl:text>
220
                  <xsl:text>,</xsl:text>
Lines 232-238 Link Here
232
              </xsl:choose>
232
              </xsl:choose>
233
            </xsl:variable>
233
            </xsl:variable>
234
            <xsl:variable name="display">
234
            <xsl:variable name="display">
235
              <xsl:for-each select="../marc:subfield[position() &gt; $start and position() &lt; $end]">
235
              <xsl:for-each select="../marc:subfield[position() &gt; $start and position() &lt; $end and @code!=2 and @code!=3]">
236
                <xsl:value-of select="."/>
236
                <xsl:value-of select="."/>
237
                <xsl:if test="not(position()=last())">
237
                <xsl:if test="not(position()=last())">
238
                  <xsl:text>, </xsl:text>
238
                  <xsl:text>, </xsl:text>
239
- 

Return to bug 8791