From ccf989c3185e09f88e6a199728fd570bac76f9d2 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 6 May 2021 08:00:00 +0100 Subject: [PATCH] Bug 14957: (QA follow-up) Update for bug 23271 --- admin/marc-overlay-rules.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/admin/marc-overlay-rules.pl b/admin/marc-overlay-rules.pl index e143f6c448..1892a1559e 100755 --- a/admin/marc-overlay-rules.pl +++ b/admin/marc-overlay-rules.pl @@ -69,9 +69,7 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user( template_name => "admin/marc-overlay-rules.tt", query => $input, type => "intranet", - authnotrequired => 0, flagsrequired => { parameters => 'manage_marc_overlay_rules' }, - debug => 1, } ); @@ -155,7 +153,7 @@ else { $rules = $get_rules->(); } -my $categorycodes = Koha::Patron::Categories->search_limited({}, {order_by => ['description']}); +my $categorycodes = Koha::Patron::Categories->search_with_library_limits({}, {order_by => ['description']}); $template->param( rules => $rules, categorycodes => $categorycodes, messages => $errors ); output_html_with_http_headers $input, $cookie, $template->output; -- 2.20.1