Bug 15594: Class in now unchanged after the patch

I'm not sure if this is the actual issue, but I found that the patch puts the span with
the class "publisher_name" inside a new span with typeOf="Organization".

In this patch, I removed that new span, to keep it coherent with the previous code.
Also, the MARC 260 subfields are displayed correctly !

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
The Minh Luong 2022-03-03 15:03:57 -05:00 committed by Fridolin Somers
parent 93c1d533c6
commit 6c189d155e

View file

@ -341,13 +341,11 @@
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="@code='b'">
<span property="publisher" typeof="Organization">
<span property="name" class="publisher_name">
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute>
<xsl:value-of select="current()"/>
</a>
</span>
</span>
<xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="@code='c'">