@@ -, +, @@ --- ill/ill-requests.pl | 5 +---- koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 4 +++- 2 files changed, 4 insertions(+), 5 deletions(-) --- a/ill/ill-requests.pl +++ a/ill/ill-requests.pl @@ -168,10 +168,7 @@ if ( $backends_available ) { }; $template->param( whole => $backend_result, - request => $request, - status_aliases => scalar Koha::AuthorisedValues->search( - { category => 'ILLSTATUS' } - ) + request => $request ); } else { # Commit: --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -4,6 +4,8 @@ [% USE Koha %] [% USE KohaDates %] [% SET footerjs = 1 %] +[% USE AuthorisedValues %] + [% INCLUDE 'doc-head-open.inc' %] Koha › ILL requests [% INCLUDE 'doc-head-close.inc' %] @@ -201,7 +203,7 @@ [% END %] [% request.capabilities.$stat.name | html %] - [% FOREACH alias IN status_aliases %] + [% FOREACH alias IN AuthorisedValues.Get('ILLSTATUS') %] [% IF alias.id == current_alias %]