bugfixes :
uses C4::Auth; added to request.pl one </TMPL_IF> needed in request.tmpl
This commit is contained in:
parent
4ff523bff0
commit
3202a41437
2 changed files with 4 additions and 4 deletions
|
@ -70,7 +70,7 @@
|
|||
<TMPL_ELSE>
|
||||
<input type=checkbox name=reqbib value=<TMPL_VAR Name="biblioitemnumber">>
|
||||
<input type=hidden name=biblioitem value=<TMPL_VAR Name="biblioitemnumber">>
|
||||
<TMPL_IF>
|
||||
</TMPL_IF>
|
||||
</td>
|
||||
<TD>
|
||||
<TMPL_VAR Name="description">
|
||||
|
@ -182,4 +182,4 @@
|
|||
<br>
|
||||
</form>
|
||||
|
||||
<TMPL_INCLUDE Name="cat-bottom.inc">
|
||||
<TMPL_INCLUDE Name="cat-bottom.inc">
|
||||
|
|
|
@ -27,6 +27,7 @@ use strict;
|
|||
#use DBI;
|
||||
use C4::Search;
|
||||
use C4::Output;
|
||||
use C4::Auth;
|
||||
use C4::Reserves2;
|
||||
use C4::Biblio;
|
||||
use C4::Koha;
|
||||
|
@ -66,7 +67,6 @@ for (my $i=1; $i<=$num; $i++){
|
|||
my $branch = $input->cookie('branch');
|
||||
($branch) || ($branch = 'L');
|
||||
my $branches = getbranches();
|
||||
my $branchoptions = branchoptions($branch);
|
||||
# make branch selection options...
|
||||
my @branchloop;
|
||||
foreach my $br (keys %$branches) {
|
||||
|
@ -153,7 +153,7 @@ foreach my $res (sort {$a->{'found'} cmp $b->{'found'}} @$reserves){
|
|||
$reserve{'barcode'}=$item->{'barcode'};
|
||||
$reserve{'biblionumber'}=$item->{'biblionumber'};
|
||||
$reserve{'wbrcode'} = $res->{'branchcode'};
|
||||
$reserve{'wbrname'} = $branches->{$wbrcd}->{'branchname'};
|
||||
$reserve{'wbrname'} = $branches->{$res->{'branchcode'}}->{'branchname'};
|
||||
}
|
||||
$reserve{'date'} = slashifyDate($res->{'reservedate'});
|
||||
$reserve{'borrowernumber'}=$res->{'borrowernumber'};
|
||||
|
|
Loading…
Reference in a new issue