Bug 40888: Fix op drop-downs in advanced search
To test:
1. Go to the Advanced search page
2. Click "More options"
--> Note that the first line in the "Search" section has a drop-down for
operation (and/or/not), but subsequent lines do not. It should be
the other way around. Also, the alignment is strange.
3. Apply patch and refresh page
--> All lines except for the first line now have an op drop-down, and
the alignment looks correct.
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit d42ce0a368)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
9b4891ea2f
commit
ae48a61747
|
|
@ -117,7 +117,7 @@
|
|||
|
||||
<div class="[% div_class | html %]" style="[% div_style | html %]">
|
||||
[% IF ( expanded_options ) %]
|
||||
[% IF loop.first %]
|
||||
[% IF !loop.first %]
|
||||
[% SET opindex = loop.index - 1 %]
|
||||
<select name="op">
|
||||
[% IF operators.$opindex == 'OR' %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue