An item is only waiting if found is set to W in the reserves table

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Cormack 2007-12-23 19:13:31 -06:00 committed by Joshua Ferraro
parent 55a525cb3a
commit 618ae1855b
1 changed files with 1 additions and 1 deletions

View File

@ -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;