View | Details | Raw Unified | Return to bug 14957
Collapse All | Expand All

(-)a/admin/marc-overlay-rules.pl (-4 / +1 lines)
Lines 69-77 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
69
        template_name   => "admin/marc-overlay-rules.tt",
69
        template_name   => "admin/marc-overlay-rules.tt",
70
        query           => $input,
70
        query           => $input,
71
        type            => "intranet",
71
        type            => "intranet",
72
        authnotrequired => 0,
73
        flagsrequired   => { parameters => 'manage_marc_overlay_rules' },
72
        flagsrequired   => { parameters => 'manage_marc_overlay_rules' },
74
        debug           => 1,
75
    }
73
    }
76
);
74
);
77
75
Lines 155-161 else { Link Here
155
    $rules = $get_rules->();
153
    $rules = $get_rules->();
156
}
154
}
157
155
158
my $categorycodes = Koha::Patron::Categories->search_limited({}, {order_by => ['description']});
156
my $categorycodes = Koha::Patron::Categories->search_with_library_limits({}, {order_by => ['description']});
159
$template->param( rules => $rules, categorycodes => $categorycodes, messages => $errors );
157
$template->param( rules => $rules, categorycodes => $categorycodes, messages => $errors );
160
158
161
output_html_with_http_headers $input, $cookie, $template->output;
159
output_html_with_http_headers $input, $cookie, $template->output;
162
- 

Return to bug 14957