Bug 21460: (follow-up) Fix bugs found in QA
Fix silly bugs mentioned in comment #29 Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
951b857a97
commit
4b97a67ae4
|
|
@ -57,7 +57,7 @@ sub list {
|
|||
# Get all requests
|
||||
# If necessary, only get those from a specified patron
|
||||
my @requests = Koha::Illrequests->search({
|
||||
args->{borrowernumber}
|
||||
$args->{borrowernumber}
|
||||
? ( borrowernumber => $args->{borrowernumber} )
|
||||
: ()
|
||||
})->as_list;
|
||||
|
|
|
|||
|
|
@ -280,8 +280,8 @@ if ( $backends_available ) {
|
|||
uri_escape_utf8(scalar $params->{$filter});
|
||||
}
|
||||
}
|
||||
my @tpl_arr = ();
|
||||
if (keys %{$active_filters}) {
|
||||
my @tpl_arr;
|
||||
foreach my $key (keys %{$active_filters}) {
|
||||
push @tpl_arr, $key . "=" . $active_filters->{$key};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -527,7 +527,7 @@
|
|||
[% INCLUDE 'calendar.inc' %]
|
||||
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
|
||||
<script>
|
||||
var prefilters = '[% prefilters %]';
|
||||
var prefilters = '[% prefilters | $raw %]';
|
||||
// Set column settings
|
||||
var columns_settings = [% ColumnsSettings.GetColumns( 'illrequests', 'ill-requests', 'ill-requests', 'json' ) %];
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue