From: Jared Camins-Esakov <[email protected]> This patch fixes the bug that caused 780s in the staff client details XSLT to display in progressively smaller fonts. This also corrects the semantics of the 780 ind1.
Signed-off-by: Nicole C. Engard <[email protected]> --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 952c41e..e3009d8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -579,6 +579,7 @@ <!-- 780 --> <xsl:if test="marc:datafield[@tag=780]"> <xsl:for-each select="marc:datafield[@tag=780]"> + <xsl:if test="@ind1=0"> <span class="results_summary"> <xsl:choose> <xsl:when test="@ind2=0"> @@ -625,12 +626,11 @@ </xsl:choose> </span> - <xsl:choose> - <xsl:when test="@ind1=0"> + <xsl:if test="marc:subfield[@code='n']"> <span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span> - </xsl:when> - </xsl:choose> + </xsl:if> + </xsl:if> </xsl:for-each> </xsl:if> -- 1.7.2.3 _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
