Bug 20581: (follow-up) Fix AV population
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>
This commit is contained in:
parent
06415f962c
commit
5e0e8246be
|
|
@ -163,10 +163,7 @@ if ( $backends_available ) {
|
|||
};
|
||||
$template->param(
|
||||
whole => $backend_result,
|
||||
request => $request,
|
||||
status_aliases => scalar Koha::AuthorisedValues->search(
|
||||
{ category => 'ILLSTATUS' }
|
||||
)
|
||||
request => $request
|
||||
);
|
||||
} else {
|
||||
# Commit:
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
[% USE Koha %]
|
||||
[% USE KohaDates %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% USE AuthorisedValues %]
|
||||
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Koha › ILL requests</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
|
|
@ -200,7 +202,7 @@
|
|||
[% 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 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue