[Koha-cvs] koha/opac opac-detail.pl [rel_2_2]
Joshua Ferraro
jmf at kados.org
Fri Jul 7 23:29:18 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Joshua Ferraro <kados> 06/07/07 21:29:18
Modified files:
opac : opac-detail.pl
Log message:
allow reserves on items with notforloan < 0
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-detail.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.14.2.19&r2=1.14.2.20
Patches:
Index: opac-detail.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.14.2.19
retrieving revision 1.14.2.20
diff -u -b -r1.14.2.19 -r1.14.2.20
--- opac-detail.pl 8 Mar 2006 13:46:55 -0000 1.14.2.19
+++ opac-detail.pl 7 Jul 2006 21:29:18 -0000 1.14.2.20
@@ -52,7 +52,7 @@
my $norequests = 1;
foreach my $itm (@items) {
- $norequests = 0 unless (($itm->{'wthdrawn'}) || ($itm->{'itemlost'}) || ($itm->{'notforloan'})|| ($itm->{'itemnotforloan'}) ||(!$itm->{'itemnumber'}));
+ $norequests = 0 unless (($itm->{'wthdrawn'}) || ($itm->{'itemlost'}) || ($itm->{'notforloan'} > 0)|| ($itm->{'itemnotforloan'} > 0) ||(!$itm->{'itemnumber'}));
$itm->{$itm->{'publictype'}} = 1;
}
More information about the Koha-cvs
mailing list