From 35143d243ccd29542bbf7d201fe98d83a6a3f675 Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Fri, 26 Sep 2025 14:39:10 -0400 Subject: [PATCH] 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. --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt index a5cbfb4ba1..ab6b53aac6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt @@ -117,7 +117,7 @@
[% IF ( expanded_options ) %] - [% IF loop.first %] + [% IF !loop.first %] [% SET opindex = loop.index - 1 %]