[Koha-bugs] [Bug 23389] Add 'All' option to report value dropdowns
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 30 23:02:06 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23389
ByWater Sandboxes <bws.sandboxes at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #91881|0 |1
is obsolete| |
--- Comment #4 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 91887
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91887&action=edit
Bug 23389: Add 'All' option to report dropdowns
This patch optionally adds an 'all' option to report dropdowns
Note you will need to use 'LIKE' instead of '=' to allow 'All' to work
To test:
1 - Write a report:
SELECT branchname FROM branches WHERE branchcode LIKE <<Branch|branches>>
2 - Run it
3 - Select a branch
4 - You get one branch info
5 - Note you cannot select all
6 - Apply patch
7 - Run report
8 - No change
9 - Update report like:
SELECT branchname FROM branches WHERE branchcode LIKE
<<Branch|branches:all>>
10 - Run report
11 - Select 'All'
12 - You get all branches
13 - Select one branch
14 - You get one branch
15 - Test with other authorised categories (itemtypes, YES_NO, etc.)
16 - Confirm it works as expected
17 - Prove -v t/db_dependent/Reports/Guided.t
Signed-off-by: Lisette Scheer <lisetteslatah at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list