From a3e113977bd2c1b5422b60291da1d28575d7af5d Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 5 May 2021 16:13:07 +0100 Subject: [PATCH] Bug 14957: (QA follow-up) Update for bug 26703 Signed-off-by: Martin Renvoize Bug 14957: (QA follow-up) Update for bug 20054 Signed-off-by: Martin Renvoize Bug 14957: (QA follow-up) Update for bug 20053 Signed-off-by: Martin Renvoize Bug 14957: (QA follow-up) Update for bug 23271 Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- admin/marc-overlay-rules.pl | 4 +--- .../prog/en/modules/admin/marc-overlay-rules.tt | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/admin/marc-overlay-rules.pl b/admin/marc-overlay-rules.pl index dcc4f1d84d..bea0a955ee 100755 --- a/admin/marc-overlay-rules.pl +++ b/admin/marc-overlay-rules.pl @@ -66,9 +66,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, } ); @@ -152,7 +150,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; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt index ecf8f73cb5..18bc91675c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt @@ -1,18 +1,18 @@ [% USE raw %] [% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Administration › MARC overlay rules +MARC overlay rules › Koha › Administration [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") | $raw %] [% INCLUDE 'datatables.inc' %] - -