https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25269
Bug ID: 25269
Summary: MARC21slim2OPACResults.xsl does not display all
formats (physical descriptions)
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Staff Client
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
In MARC21slim2OPACResults.xsl we set the 'Format' or physical description by a
combination of the 007 first position and 007 second position.
In most cases this displays some text (example: chip cartridge or
magneto-optical disc)
But some set an png icon instead of any text. Like:
<img src="/opac-tmpl/lib/famfamfam/world.png" alt="earth moon globe"
class="format"/>
These will not display at all that is because of this:
<xsl:if test="string-length(normalize-space($physicalDescription))">
<span class="results_format">
<span class="label">; Format: </span><xsl:copy-of
select="$physicalDescription"></xsl:copy-of>
</span>
</xsl:if>
Without any text the string length is 0 and nothing at all displays. We need to
add text along with each png icon.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/