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' %] - -