Bug 30603: Display Sort1 and Sort2 as free text if no AV exists
Test plan: Don't define AV for Sort1 and Sort2, edit a patron => Should be editable via an input box Define AVs for Sort1 and Sort2, edit a patron => Should see the dropdown Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
63002fa589
commit
bc235e72ce
|
|
@ -11,7 +11,7 @@
|
|||
[% SET avs = AuthorisedValues.GetAuthValueDropbox( category ) %]
|
||||
[% DEFAULT class = '' size = 20 %]
|
||||
|
||||
[% IF avs %]
|
||||
[% IF avs.count %]
|
||||
<select id="[% name | html %]" name="[% name | html %]" class="[% class | html %]" >
|
||||
[% IF all %]<option value="">All</option>[% END %]
|
||||
[% IF empty %]<option value=""></option>[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue