Bug 28784: (follow-up) Always make three search boxes
The previous patch removed search_boxes_loop - that's okay, it was always getting the same three values. If we don't do something in the template though, we get no boxes Ultimately this should be a include, and not a hardcoded loop, but keeping changes small for backporting Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
f42412cb91
commit
426d54c409
1 changed files with 2 additions and 2 deletions
|
@ -36,11 +36,11 @@
|
|||
[% ELSE %]
|
||||
<div class="advanced-search-terms">
|
||||
[% END # /IF ( expanded_options ) %]
|
||||
[% FOREACH search_box IN search_boxes_loop %]
|
||||
[% FOREACH search_box IN [ 1, 2, 3] %]
|
||||
<div class="search-term-row">
|
||||
<div class="search-term-input">
|
||||
[% IF ( expanded_options ) %]
|
||||
[% IF ( search_box.boolean ) %]
|
||||
[% IF ( !loop.first ) %]
|
||||
<select name="op" class="form-control">
|
||||
<option value="and" selected="selected">and</option>
|
||||
<option value="or">or</option>
|
||||
|
|
Loading…
Reference in a new issue