fix
This commit is contained in:
parent
11ca656a45
commit
38f841784b
1 changed files with 2 additions and 1 deletions
|
@ -280,7 +280,8 @@ sub find_reserves {
|
||||||
my ($env,$dbh,$itemno) = @_;
|
my ($env,$dbh,$itemno) = @_;
|
||||||
my $itemdata = itemnodata($env,$dbh,$itemno);
|
my $itemdata = itemnodata($env,$dbh,$itemno);
|
||||||
my $query = "select * from reserves where found is null
|
my $query = "select * from reserves where found is null
|
||||||
and biblionumber = $itemdata->{'biblionumber'} order by priority,reservedate ";
|
and biblionumber = $itemdata->{'biblionumber'} and cancellationdate is NULL
|
||||||
|
order by priority,reservedate ";
|
||||||
my $sth = $dbh->prepare($query);
|
my $sth = $dbh->prepare($query);
|
||||||
$sth->execute;
|
$sth->execute;
|
||||||
my $resfound = "n";
|
my $resfound = "n";
|
||||||
|
|
Loading…
Reference in a new issue