Bug 36064: (QA follow-up) Simplify and tidy
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
2cb63bb763
commit
6190154a43
1 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,8 @@ unless ( $logged_in_user->has_permission( { parameters => 'manage_background_job
|
|||
$template->param( already_ran_jobs => $already_ran_jobs );
|
||||
}
|
||||
|
||||
my $holds_with_cancellation_requests = Koha::Holds->waiting->search()->filter_by_has_cancellation_requests->count;
|
||||
$template->param(
|
||||
holds_with_cancellation_requests => Koha::Holds->waiting->filter_by_has_cancellation_requests->count );
|
||||
|
||||
if ( C4::Context->preference('CurbsidePickup') ) {
|
||||
$template->param(
|
||||
|
@ -144,7 +145,6 @@ $template->param(
|
|||
pending_discharge_requests => $pending_discharge_requests,
|
||||
pending_article_requests => $pending_article_requests,
|
||||
pending_problem_reports => $pending_problem_reports,
|
||||
holds_with_cancellation_requests => $holds_with_cancellation_requests,
|
||||
);
|
||||
|
||||
output_html_with_http_headers $query, $cookie, $template->output;
|
||||
|
|
Loading…
Reference in a new issue