[Koha-patches] Bug 3380: Serial enumeration / chronology should display in opac holds interface

Katrin Fischer katrin.fischer.83 at web.de
Wed Sep 23 23:54:37 CEST 2009


Shows items.enumchron / 952$h in opac hold interface, so that the user can place an item level hold
on a specific volume or issue.
---
 .../opac-tmpl/prog/en/modules/opac-reserve.tmpl    |    7 +++++--
 opac/opac-reserve.pl                               |    1 +
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tmpl
index 3ac7343..9cca500 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tmpl
@@ -243,7 +243,7 @@
 		  <th>Hold Starts on Date</th>
 		  <!-- /TMPL_IF -->
                   <!-- TMPL_IF NAME="OPACItemHolds" -->
-                    <th id="place_on_hdr" style="display:none">Place On:</th>
+                    <th id="place_on_hdr" style="display:none">Place On</th>
                   <!-- /TMPL_IF -->
                   <!-- TMPL_UNLESS NAME="singleBranchMode" -->
                     <th>Pickup Location</th>
@@ -431,7 +431,10 @@
                                 <!-- TMPL_ELSE -->
                                   <input disabled="disabled" type="radio" class="checkitem" name="checkitem" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
                                   <img src="/intranet-tmpl/<!-- TMPL_VAR NAME="theme" -->/img/famfamfam/silk/cross.png" alt="Cannot be put on hold" title="Cannot be put on hold" />
-                                <!-- /TMPL_IF --> <!-- TMPL_IF NAME="copynumber" --><!-- TMPL_VAR NAME="copynumber" --><!-- /TMPL_IF -->
+                                <!-- /TMPL_IF --> 
+				<!-- TMPL_IF NAME="enumchron" --><!-- TMPL_VAR NAME="enumchron" --><!-- TMPL_IF NAME="copynumber" -->, <!-- /TMPL_IF -->
+				<!-- /TMPL_IF -->
+				<!-- TMPL_IF NAME="copynumber" --><!-- TMPL_VAR NAME="copynumber" --><!-- /TMPL_IF -->
                               </td>
                               <!-- TMPL_IF NAME="item-level_itypes" -->
                                 <td>
diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl
index 4471dff..8ecf631 100755
--- a/opac/opac-reserve.pl
+++ b/opac/opac-reserve.pl
@@ -353,6 +353,7 @@ foreach my $biblioNum (@biblionumbers) {
         $itemLoopIter->{barcode} = $itemInfo->{barcode};
         $itemLoopIter->{homeBranchName} = $branches->{$itemInfo->{homebranch}}{branchname};
         $itemLoopIter->{callNumber} = $itemInfo->{itemcallnumber};
+	$itemLoopIter->{enumchron} = $itemInfo->{enumchron};
         $itemLoopIter->{copynumber} = $itemInfo->{copynumber};
         if ($itemLevelTypes) {
             $itemLoopIter->{description} = $itemInfo->{description};
-- 
1.6.0.4


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-BUG-3380-Serial-enumeration-chronology-should-dis.patch
Type: text/x-patch
Size: 2970 bytes
Desc: not available
URL: </pipermail/koha-patches/attachments/20090923/2b0346db/attachment-0002.bin>


More information about the Koha-patches mailing list