Bug 14957: (QA follow-up) Update for bug 26703

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Bug 14957: (QA follow-up) Update for bug 20054

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Bug 14957: (QA follow-up) Update for bug 20053

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Bug 14957: (QA follow-up) Update for bug 23271

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Martin Renvoize 2021-05-05 16:13:07 +01:00 committed by Jonathan Druart
parent 342dae89f8
commit a3e113977b
2 changed files with 4 additions and 6 deletions

View File

@ -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;

View File

@ -1,18 +1,18 @@
[% USE raw %]
[% USE Koha %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Administration &rsaquo; MARC overlay rules</title>
<title>MARC overlay rules &rsaquo; Koha &rsaquo; Administration</title>
[% INCLUDE 'doc-head-close.inc' %]
[% Asset.css("css/datatables.css") | $raw %]
[% INCLUDE 'datatables.inc' %]
<style type="text/css">
<style>
.required {
background-color: #C00;
}
</style>
<script type="text/javascript">
<script>
function doSubmit(op, id) {
$('<input type="hidden"/>')
.attr('name', 'op')