Bugzilla – Attachment 17434 Details for
Bug 9995
For reference items no longer listed in XSLT result lists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 9995 - For reference items no longer listed in XSLT result lists
SIGNED-OFF-Bug-9995---For-reference-items-no-longe.patch (text/plain), 2.63 KB, created by
Katrin Fischer
on 2013-04-15 05:31:46 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 9995 - For reference items no longer listed in XSLT result lists
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-04-15 05:31:46 UTC
Size:
2.63 KB
patch
obsolete
>From 195920443e436ded39687aea6191d54acd220c29 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 8 Apr 2013 09:07:43 -0400 >Subject: [PATCH] [SIGNED OFF] Bug 9995 - For reference items no longer listed > in XSLT result lists > >Re-added the xsl that shouldn't have been removed. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Tested with different settings for OpacItemLocation >and not for loan set in the item and for the item type. >--- > .../prog/en/xslt/MARC21slim2OPACResults.xsl | 19 ++++++++++++++++++- > 1 file changed, 18 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >index 4335e50..cdeb672 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >@@ -1071,11 +1071,28 @@ > </xsl:for-each> > </xsl:otherwise> > </xsl:choose> >- </span> > >+ </span> > </xsl:when> > </xsl:choose> > >+ <xsl:choose> >+ <xsl:when test="count(key('item-by-status', 'reference'))>0"> >+ <span class="available"> >+ <b><xsl:text>Copies available for reference: </xsl:text></b> >+ <xsl:variable name="reference_items" select="key('item-by-status', 'reference')"/> >+ <xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> >+ <xsl:value-of select="items:homebranch"/> >+ <xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> >+ <xsl:text> (</xsl:text> >+ <xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/> >+ <xsl:text> )</xsl:text> >+ <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:when> >+ </xsl:choose> >+ > <xsl:choose> <xsl:when test="count(key('item-by-status', 'available'))>0"> > <xsl:choose><xsl:when test="count(key('item-by-status', 'reference'))>0"> > <br/> >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9995
:
17288
|
17434
|
17508
|
17509
|
17510
|
17519
|
17523