As per:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20581#c72
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
};
$template->param(
whole => $backend_result,
- request => $request,
- status_aliases => scalar Koha::AuthorisedValues->search(
- { category => 'ILLSTATUS' }
- )
+ request => $request
);
} else {
# Commit:
[% USE Koha %]
[% USE KohaDates %]
[% SET footerjs = 1 %]
+[% USE AuthorisedValues %]
+
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › ILL requests</title>
[% INCLUDE 'doc-head-close.inc' %]
[% END %]
[% request.capabilities.$stat.name | html %]
</option>
- [% FOREACH alias IN status_aliases %]
+ [% FOREACH alias IN AuthorisedValues.Get('ILLSTATUS') %]
[% IF alias.id == current_alias %]
<option value="[% alias.id %]" selected>
[% ELSE %]