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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/ill-requests.tt (+2 lines)
Lines 68-73 Link Here
68
            var prefilters = '[% prefilters | html %]';
68
            var prefilters = '[% prefilters | html %]';
69
            // Set column settings
69
            // Set column settings
70
            var table_settings = [% TablesSettings.GetTableSettings( 'illrequests', 'ill-requests', 'ill-requests', 'json' ) | $raw %];
70
            var table_settings = [% TablesSettings.GetTableSettings( 'illrequests', 'ill-requests', 'ill-requests', 'json' ) | $raw %];
71
72
            var ill_table_actions = [% table_actions | $raw %];
71
        </script>
73
        </script>
72
        [% INCLUDE 'ill-list-table-strings.inc' %]
74
        [% INCLUDE 'ill-list-table-strings.inc' %]
73
        [% Asset.js("js/ill-list-table.js") | $raw %]
75
        [% Asset.js("js/ill-list-table.js") | $raw %]
(-)a/members/ill-requests.pl (-4 / +5 lines)
Lines 22-27 use Modern::Perl; Link Here
22
use CGI qw ( -utf8 );
22
use CGI qw ( -utf8 );
23
use C4::Auth qw( get_template_and_user );
23
use C4::Auth qw( get_template_and_user );
24
use C4::Output qw( output_and_exit_if_error output_and_exit output_html_with_http_headers );
24
use C4::Output qw( output_and_exit_if_error output_and_exit output_html_with_http_headers );
25
use JSON qw( encode_json );
25
use Koha::Patrons;
26
use Koha::Patrons;
26
27
27
my $input = CGI->new;
28
my $input = CGI->new;
Lines 42-50 my $patron = Koha::Patrons->find( $borrowernumber ); Link Here
42
output_and_exit_if_error( $input, $cookie, $template, { module => 'members', logged_in_user => $logged_in_user, current_patron => $patron } );
43
output_and_exit_if_error( $input, $cookie, $template, { module => 'members', logged_in_user => $logged_in_user, current_patron => $patron } );
43
44
44
$template->param(
45
$template->param(
45
    prefilters => "borrowernumber=$borrowernumber",
46
    prefilters    => "borrowernumber=$borrowernumber",
46
    patron => $patron,
47
    patron        => $patron,
47
    illview  => 1,
48
    illview       => 1,
49
    table_actions => encode_json( Koha::Illrequest->get_staff_table_actions ),
48
);
50
);
49
51
50
output_html_with_http_headers $input, $cookie, $template->output;
52
output_html_with_http_headers $input, $cookie, $template->output;
51
- 

Return to bug 35331