[Koha-bugs] [Bug 4300] Display 866z summary holdings public note in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 16 08:13:55 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4300

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |katrin.fischer at bsz-bw.de
         Resolution|FIXED                       |

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> 2012-01-16 07:13:55 UTC ---
Only subfield 866$z is displayed, but ; is added for each 866 field. 
This does only work correctly, when each 866 has a public note in $z.

Example:
866 $a1-86 (1941-1987)$xbound in 2 v. per year$zSome issues missing
866 $a1-86 (1941-1987)

Shows up as:
Holdings Note: Some issues missing; .

866 - Textual Holdings-Basic Bibliographic Unit (R)
$a - Textual holdings (NR)
$x - Nonpublic note (R)
$z - Public note (R)

Holdings note is also only shown in OPAC, not in staff.

<!-- 866 holdings public note -->
<xsl:if test="marc:datafield[@tag=866]">
<span class="results_summary holdings_note"><span class="label">Holdings Note:
</span>
<xsl:for-each select="marc:datafield[@tag=866]">
<xsl:value-of select="marc:subfield[@code='z']"/>
<xsl:choose><xsl:when
test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>;
</xsl:text></xsl:otherwise></xsl:choose>
</xsl:for-each>
</span>
</xsl:if>

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


More information about the Koha-bugs mailing list