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

(-)a/Koha/REST/V1/Illrequests.pm (-1 / +1 lines)
Lines 57-63 sub list { Link Here
57
    # Get all requests
57
    # Get all requests
58
    # If necessary, only get those from a specified patron
58
    # If necessary, only get those from a specified patron
59
    my @requests = Koha::Illrequests->search({
59
    my @requests = Koha::Illrequests->search({
60
        args->{borrowernumber}
60
        $args->{borrowernumber}
61
        ? ( borrowernumber => $args->{borrowernumber} )
61
        ? ( borrowernumber => $args->{borrowernumber} )
62
        : ()
62
        : ()
63
    })->as_list;
63
    })->as_list;
(-)a/ill/ill-requests.pl (-1 / +1 lines)
Lines 280-287 if ( $backends_available ) { Link Here
280
                    uri_escape_utf8(scalar $params->{$filter});
280
                    uri_escape_utf8(scalar $params->{$filter});
281
            }
281
            }
282
        }
282
        }
283
        my @tpl_arr = ();
283
        if (keys %{$active_filters}) {
284
        if (keys %{$active_filters}) {
284
            my @tpl_arr;
285
            foreach my $key (keys %{$active_filters}) {
285
            foreach my $key (keys %{$active_filters}) {
286
                push @tpl_arr, $key . "=" . $active_filters->{$key};
286
                push @tpl_arr, $key . "=" . $active_filters->{$key};
287
            }
287
            }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-2 / +1 lines)
Lines 527-533 Link Here
527
    [% INCLUDE 'calendar.inc' %]
527
    [% INCLUDE 'calendar.inc' %]
528
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
528
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
529
    <script>
529
    <script>
530
        var prefilters = '[% prefilters %]';
530
        var prefilters = '[% prefilters | $raw %]';
531
        // Set column settings
531
        // Set column settings
532
        var columns_settings = [% ColumnsSettings.GetColumns( 'illrequests', 'ill-requests', 'ill-requests', 'json' ) %];
532
        var columns_settings = [% ColumnsSettings.GetColumns( 'illrequests', 'ill-requests', 'ill-requests', 'json' ) %];
533
    </script>
533
    </script>
534
- 

Return to bug 21460