https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37050

--- Comment #1 from Brendan Lawlor <[email protected]> ---
Created attachment 167555
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167555&action=edit
Bug 37050: Add select2 to SQL reports multi select

This patch adds select 2 to modifies multi-select parameter fields in SQL
reports to use the select2 framework. If no selections are made for a multi
select parameter all values will be used by default.

To test:
1. Apply patch
2. Go to Reports and create a report from SQL
   select *
   from items
   where
   homebranch in <<Libraries|branches:in>>
   and
   itype in <<Item type|itemtypes:in>>
3. Run the report making multiple selections for each parameter
4. Run the report making multiple selections for one parameter and no
selections in another parameter
5. Check that the results are as you would expect
6. On the results page click 'Show SQL code'
7. Confirm that the codes are included according to your selections
8. Note that when no selections are made for a parameter all codes are used by
defaut. This allows the query to run when no selections are made instead of
causing an error. It allows reports to be written where a multi select
parameter is optional.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to