[Koha-bugs] [Bug 16219] Runreport.pl should allow SQL parameters to be passed on the command line

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 19 21:45:36 CEST 2019


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

--- Comment #5 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Katrin Fischer from comment #3)
> This works, but feels a little hacky:
> - When the report expects params, the SQL message is output. We could
> possibly print a nicer error message instead with the number of params to
> expected.

Ok, done

> - When the report is built with reusable variables, you need to enter each
> of those on command line. If not easy to fix, hinting at it in the help
> might be good.

Noted in the POD, really reports needs an update and move to objects, this is a
helpful patch mostly for sysadmins (and to prevent libraries having to have
hardcoded cron version reports and staff side version with params)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list