[Koha-bugs] [Bug 36375] New: Inconsistencies in ContentWarningField display
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 20 16:29:06 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36375
Bug ID: 36375
Summary: Inconsistencies in ContentWarningField display
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Cataloging
Assignee: koha-bugs at lists.koha-community.org
Reporter: fridolin.somers at biblibre.com
QA Contact: testopia at bugs.koha-community.org
CC: m.de.rooy at rijksmuseum.nl
Bug 31123 add code in XSLT files for results and details pages OPAC and staff
interface.
Looks like those 4 displays are different, they use $a and $u then call
subfieldSelect with different values :
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl:
<xsl:with-param name="codes">bcdefghijklmnopqrstvwxyz</xsl:with-param>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl:
<xsl:with-param name="codes">abcdefgijklnou</xsl:with-param>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl:
<xsl:with-param name="codes">bcdefghijklmnopqrstvwyz</xsl:with-param>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl:
<xsl:with-param name="codes">bcdefghijklmnopqrstvwyz</xsl:with-param>
Using $a and $u is a mistake since they are displayed in above code.
In Bug 36370 I used code from MARC21slim2intranetDetail.xsl :
bcdefghijklmnopqrstvwxyz
Looks like it is the better one.
Also makes sens to create a template in MARC21slimUtils.xsl
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list