[Koha-bugs] [Bug 3293] XSLT Display Incorrect for MU

bugzilla-daemon at liblime.com bugzilla-daemon at liblime.com
Fri Jun 5 02:36:35 CEST 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3293


Sam Cook <scook at hartford.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |scook at hartford.edu




--- Comment #1 from Sam Cook <scook at hartford.edu>  2009-06-05 00:36:34 ---
(In reply to comment #0)
> Per the comments on this document: 
> http://koha.org/documentation/manual/3.2/opac/xslt/item-type-display
> 
> Take a look at http://www.loc.gov/marc/bibliographic/bd006.html
> 
> For MU (music), only codes i and j are designated as sound recordings. Codes c
> and d are actually "notated music" or scores.
> 
> Right now a sound icon is displayed for all - making it misleading to patrons
> looking for sheet music.
> 

Would the solution simply be editing the XSLT stylesheet to read:

<xsl:when test="$leader6='i' or $leader6='j'">
<img src="/opac-tmpl/prog/famfamfam/silk/sound.png" alt="sound" title="sound"/>
Sound Recording
</xsl:when>
<xsl:when test="$leader6='c' or $leader6='d'">
<img src="/opac-tmpl/prog/famfamfam/silk/music.png" alt="score" title="score"/>
Music Score
</xsl:when>

in place of the current code:

<xsl:when test="$leader6='c' or $leader6='d' or $leader6='i'or $leader6='j'">
<img src="/opac-tmpl/prog/famfamfam/silk/sound.png" alt="sound" title="sound"/>
Sound
</xsl:when>


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list