Bug 40888

Summary: and/or/not drop-downs are missing in the Advanced Search form
Product: Koha Reporter: Emily Lamancusa (emlam) <emily.lamancusa>
Component: SearchingAssignee: Emily Lamancusa (emlam) <emily.lamancusa>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low Keywords: rel_25_05_candidate
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 38714    
Bug Blocks:    
Attachments: Advanced search missing and/or drop-downs
Bug 40888: Fix op drop-downs in advanced search

Description Emily Lamancusa (emlam) 2025-09-26 16:06:25 UTC
Created attachment 186984 [details]
Advanced search missing and/or drop-downs

In the Advanced Search form, if "More options" is selected, each search field should have a drop-down to select between "and", "or", and "not" for that field. However, in 25.05 and main, that drop-down only appears in the first line.
Comment 1 Emily Lamancusa (emlam) 2025-09-26 18:43:38 UTC
Created attachment 187010 [details] [review]
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.