An item is only waiting if found is set to W in the reserves table
authorChris Cormack <crc@liblime.com>
Mon, 24 Dec 2007 01:13:31 +0000 (19:13 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 24 Dec 2007 02:27:11 +0000 (20:27 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
opac/opac-user.pl

index 78ba325..a7b8d61 100755 (executable)
@@ -185,7 +185,7 @@ foreach my $res (@reserves) {
         # get document reserve status
         my $biblioData = GetBiblioData($res->{'biblionumber'});
         $res->{'waiting_title'} = $biblioData->{'title'};
-        if ( ( $res->{'found'} eq 'W' ) or ( $res->{'priority'} eq '0' ) ) {
+        if ( ( $res->{'found'} eq 'W' ) ) {
             my $item = $res->{'itemnumber'};
             $item = GetBiblioFromItemNumber($item,undef);
             $res->{'wait'}= 1;