|
Lines 30-47
use Try::Tiny;
Link Here
|
| 30 |
|
30 |
|
| 31 |
use C4::Output; |
31 |
use C4::Output; |
| 32 |
use C4::Reserves qw( ModReserve ModReserveCancelAll ); |
32 |
use C4::Reserves qw( ModReserve ModReserveCancelAll ); |
| 33 |
use C4::Auth qw( get_template_and_user ); |
33 |
use C4::Auth qw( checkauth ); |
| 34 |
use Koha::BackgroundJob::BatchUpdateBiblioHoldsQueue; |
34 |
use Koha::BackgroundJob::BatchUpdateBiblioHoldsQueue; |
| 35 |
|
35 |
|
| 36 |
my $query = CGI->new; |
36 |
my $query = CGI->new; |
| 37 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
37 |
|
| 38 |
{ |
38 |
checkauth($query, 0, { reserveforothers => '*' }, 'intranet'); |
| 39 |
template_name => "about.tt", |
|
|
| 40 |
query => $query, |
| 41 |
type => "intranet", |
| 42 |
flagsrequired => { reserveforothers => '*' }, |
| 43 |
} |
| 44 |
); |
| 45 |
|
39 |
|
| 46 |
my @reserve_id = $query->multi_param('reserve_id'); |
40 |
my @reserve_id = $query->multi_param('reserve_id'); |
| 47 |
my @rank = $query->multi_param('rank-request'); |
41 |
my @rank = $query->multi_param('rank-request'); |