koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/opac opac-detail.pl [rel_3_0]


From: Ryan Higgins
Subject: [Koha-cvs] koha/opac opac-detail.pl [rel_3_0]
Date: Sun, 04 Mar 2007 19:53:32 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     Ryan Higgins <rych>     07/03/04 19:53:32

Modified files:
        opac           : opac-detail.pl 

Log message:
        BUGFIX - reserve button not shown because check against authorized 
value of notforloan

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-detail.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.32.2.13&r2=1.32.2.14

Patches:
Index: opac-detail.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.32.2.13
retrieving revision 1.32.2.14
diff -u -b -r1.32.2.13 -r1.32.2.14
--- opac-detail.pl      10 Jan 2007 10:52:58 -0000      1.32.2.13
+++ opac-detail.pl      4 Mar 2007 19:53:32 -0000       1.32.2.14
@@ -17,7 +17,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: opac-detail.pl,v 1.32.2.13 2007/01/10 10:52:58 toins Exp $
+# $Id: opac-detail.pl,v 1.32.2.14 2007/03/04 19:53:32 rych Exp $
 
 use strict;
 require Exporter;
@@ -68,6 +68,7 @@
 $dat->{'count'} = @items;
 
 #adding RequestOnOpac filter to allow or not the display of plce reserve button
+# FIXME - use me or delete me.
 my $RequestOnOpac;
 if (C4::Context->preference("RequestOnOpac")) {
        $RequestOnOpac = 1;
@@ -78,13 +79,12 @@
     $norequests = 0
       unless ( ( $itm->{'wthdrawn'} )
         || ( $itm->{'itemlost'} )
-        || ( $itm->{'notforloan'} )
         || ( $itm->{'itemnotforloan'} )
         || ( !$itm->{'itemnumber'} ) );
     $itm->{ $itm->{'publictype'} } = 1;
 }
 
-$template->param( norequests => $norequests );
+$template->param( norequests => $norequests, );
 
 ## get notes and subjects from MARC record
     my $dbh              = C4::Context->dbh;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]