[Koha-bugs] [Bug 16219] Runreport.pl should allow sql paramters to be passed on the command line.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Sep 5 13:21:20 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16219
--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 78434
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78434&action=edit
Bug 16219: Add 'params' parameter to runreport.pl
To test:
1 - Apply patch
2 - Write a report that takes no variables
3 - Run this using runreport.pl
perl misc/cronjobs/runreport.pl 1
4 - Confirm results as expected
5 - Write a report that takes one or more variables
6 - Run using runreport.pl, but pass no params
7 - You should get a SQL error
8 - Now run passing the correct number of params
perl misc/cronjobs/runreport.pl --param first --param=2nd 2
9 - Verify results as expected
10 - call runreport with no parameters
perl misc/cronjobs/runreport.pl
11 - Verify documentation is correct and helpful
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list