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@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
|
||
|---|---|---|
| .. | ||
| acquisitions_stats.pl | ||
| bor_issues_top.pl | ||
| borrowers_out.pl | ||
| borrowers_stats.pl | ||
| cash_register_stats.pl | ||
| cat_issues_top.pl | ||
| catalogue_out.pl | ||
| catalogue_stats.pl | ||
| dictionary.pl | ||
| guided_reports.pl | ||
| issues_avg_stats.pl | ||
| issues_stats.pl | ||
| itemslost.pl | ||
| itemtypes.plugin | ||
| manager.pl | ||
| orders_by_fund.pl | ||
| reports-home.pl | ||
| reserves_stats.pl | ||
| serials_stats.pl | ||