Bug 27864: (QA follow-up) Remove size=1 on selects (28066 follow-up)

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Tomás Cohen Arazi 2021-04-26 08:21:41 -03:00 committed by Jonathan Druart
parent 1531607233
commit f4fe7ac086

View file

@ -442,10 +442,10 @@
<li>
<label for="pickup">Pickup at:</label>
[% UNLESS ( multi_hold ) %]
<select name="pickup" size="1" id="pickup" data-biblio-id="[% biblio.biblionumber | html %]" data-patron-id="[% patron.borrowernumber | html %]">
<select name="pickup" id="pickup" data-biblio-id="[% biblio.biblionumber | html %]" data-patron-id="[% patron.borrowernumber | html %]">
<option selected="selected" value="[% pickup | html %]">[% Branches.GetName(pickup) | html %]</option>
[% ELSE %]
<select name="pickup" size="1" id="pickup" data-patron-id="[% patron.borrowernumber | html %]">
<select name="pickup" id="pickup" data-patron-id="[% patron.borrowernumber | html %]">
[% PROCESS options_for_libraries libraries => Branches.all({ selected => pickup, search_params => { pickup_location => 1 } }) %]
[% END %]
</select>