Fixed bug so that items appear as reserved only when they actually are!
This commit is contained in:
parent
0b95b93688
commit
ee9ee388f7
1 changed files with 2 additions and 2 deletions
|
@ -263,8 +263,8 @@ for (my $i=0;$i<$count;$i++){
|
|||
# print "<td> </td>";
|
||||
# }
|
||||
#check item is not reserved
|
||||
my ($rescount,$reserves)=Findgroupreserve($issue->[$i]{'biblioitemnumber'},$issue->[$i]{'biblionumber'});
|
||||
if ($rescount >0){
|
||||
my ($restype,$reserves)=CheckReserves($issue->[$i]{'itemnumber'});
|
||||
if ($restype){
|
||||
print "<TD><a href=/cgi-bin/koha/request.pl?bib=$issue->[$i]{'biblionumber'}>On Request - no renewals</a></td></tr>";
|
||||
# } elsif ($issue->[$i]->{'renewals'} > 0) {
|
||||
# print "<TD>Previously Renewed - no renewals</td></tr>";
|
||||
|
|
Loading…
Reference in a new issue