Bug 40819

Summary: Guided reports select column should not be initialized as select2
Product: Koha Reporter: Brendan Lawlor <blawlor>
Component: ReportsAssignee: Brendan Lawlor <blawlor>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: lisette
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:
Attachments: Bug 40819: Only initialize select2 for #report_param_form

Description Brendan Lawlor 2025-09-16 17:41:52 UTC
This is a follow up from bug 37050.

To reproduce:
1. Go to Reports > Create guided report
2. Click Next >>
3. Click Next >>
3. Notice the form has been initialized as select2
Comment 1 Brendan Lawlor 2025-09-16 17:54:08 UTC
Created attachment 186503 [details] [review]
Bug 40819: Only initialize select2 for #report_param_form

This patch makes the the css selector specifically target the
report_param_form in guided reports

To test:
1. Go to Reports > Create guided report
2. Click Next >>
3. Click Next >>
3. Notice the form has been initialized as select2
4. Apply patch and refresh the page
5. Confirm the select column form is back to normal
6. Confirm select2 is still initialized for SQL reports
   example: select * from items where homebranch IN <<Library|branches:in>>