koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/opac opac-user.pl [rel_2_2]


From: Chris Cormack
Subject: [Koha-cvs] koha/opac opac-user.pl [rel_2_2]
Date: Fri, 20 Apr 2007 01:03:57 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Chris Cormack <rangi>   07/04/20 01:03:57

Modified files:
        opac           : opac-user.pl 

Log message:
        Fixing erroneous logic, a reserve is only waiting if its marked W in 
the reserves table

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-user.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.14.2.11&r2=1.14.2.12

Patches:
Index: opac-user.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-user.pl,v
retrieving revision 1.14.2.11
retrieving revision 1.14.2.12
diff -u -b -r1.14.2.11 -r1.14.2.12
--- opac-user.pl        12 Sep 2006 09:28:48 -0000      1.14.2.11
+++ opac-user.pl        20 Apr 2007 01:03:56 -0000      1.14.2.12
@@ -126,7 +126,7 @@
 my @waiting;
 my $wcount = 0;
 foreach my $res (@$reserves) {
-    if ($res->{'itemnumber'}) {
+    if ($res->{'found'} eq 'W') {
        my $item = getiteminformation('',$res->{'itemnumber'},'');
        $res->{'holdingbranch'} = 
$branches->{$item->{'holdingbranch'}}->{'branchname'};
        $res->{'branch'} = $branches->{$res->{'branchcode'}}->{'branchname'};




reply via email to

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