https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42027

            Bug ID: 42027
           Summary: Implement "Show volumes" for serial records
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: 24.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: MARC Bibliographic data support
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Currently Koha can show the "Show volumes" link for set and traced series
records. With a search in the background we check for existing volumes and
display of the link depends on their existence.

The same should be implemented for serial records that can also have separate
records in some libraries for bound volumes of serial issues.

Currently we use this XSLT to always show the link for serial records (or
never, depending on CSS):

    <xsl:template name="serial_volumes">
        <xsl:param name="gui"/>
        <xsl:param name="UseControlNumber" />
        <xsl:variable name="SearchUrl">
            <xsl:call-template name="SearchUrl">
                <xsl:with-param name="gui"><xsl:value-of select="$gui"
/></xsl:with-param>
            </xsl:call-template>
        </xsl:variable>
        <xsl:if test="substring(marc:leader,8,1) = 's' and
not(substring(marc:leader,20,1)='a' or
substring(marc:controlfield[@tag=008],22,1)='m')">
            <span class="results_summary serial_volumes"><span class="transl
label en">Volumes: </span><span class="transl label de-DE">Bände: </span>
                <a>
                <xsl:choose>
                <xsl:when test="$UseControlNumber = '1' and
marc:controlfield[@tag=001]">
                    <xsl:attribute name="href"><xsl:value-of
select="$SearchUrl"/>q=rcn:<xsl:value-of
select="marc:controlfield[@tag=001]"/>+not+(bib-level:a+or+bib-level:b)</xsl:attribute>
                </xsl:when>
                <xsl:otherwise>
                    <xsl:attribute name="href"><xsl:value-of
select="$SearchUrl"/>q=ti,phr:<xsl:value-of
select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/',
'')"/></xsl:attribute>
                </xsl:otherwise>
                </xsl:choose>
                <span class="transl en">Show volumes</span><span class="transl
de-DE">Zeige Bände</span>
                </a>
            </span>
        </xsl:if>
    </xsl:template>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
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/

Reply via email to