[Bug 9028] New: Optionally show only the number of available copies in result lists in OPAC
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9028 Priority: P5 - low Change sponsored?: --- Bug ID: 9028 Assignee: oleonard@myacpl.org Summary: Optionally show only the number of available copies in result lists in OPAC Severity: enhancement Classification: Unclassified OS: All Reporter: magnus@enger.priv.no Hardware: All Status: NEW Version: master Component: OPAC Product: Koha If there are a lot of libraries/branches in an installation and they all have the same book, the list of libraries that has the book available for loan can look a bit messy. It might be nice to provide an option for just displaying the number of available copies, and not the complete list with all the names. This would of course have to be governed by a syspref, with the default set to preserve the current behaviour. The logic would be similar to the one for other statuses that do display just numbers. Something like this: <xsl:if test="count(key('item-by-status', 'available'))>0"> <span class="available"> <xsl:text>Checked out (</xsl:text> <xsl:value-of select="count(key('item-by-status', 'available'))"/> <xsl:text>). </xsl:text> </span> </xsl:if> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9028 Magnus Enger <magnus@enger.priv.no> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=5079 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9028 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9028 Fridolyn SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolyn.somers@biblibre.co | |m --- Comment #1 from Fridolyn SOMERS <fridolyn.somers@biblibre.com> --- (In reply to comment #0) I think you mean :
<xsl:if test="count(key('item-by-status', 'available'))>0"> <span class="available"> <xsl:text>Available (</xsl:text> <xsl:value-of select="count(key('item-by-status', 'available'))"/> <xsl:text>). </xsl:text> </span> </xsl:if>
-- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org