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:
Emily Lamancusa 2025-09-26 14:39:10 -04:00 committed by Paul Derscheid
parent 9b4891ea2f
commit ae48a61747
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 1 additions and 1 deletions

View File

@ -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' %]