Koha/svc
Kyle M Hall 551fca629f Bug 13880 - Allow svc/report to be passed sql parameters
The same feature added to the opac svc/report in bug 9915 should be
added to the staff side.

Test Plan:
1) Apply this patch
2) Create this report:
   SELECT * FROM biblio WHERE biblionumber = <<biblionumber>>
3) Note the id of the report
4) Go to the Staff URL
/cgi-bin/koha/svc/report?id=YOUR_REPORT_ID&sql_params=SOME_VALID_BIBLIONUMBER
5) Note you recieve a json response

NOTE: without applying the patch you get an empty JSON response.

ALSO: running koha qa tools does not verify the changes.
      $ perlcritic -4 svc/report
      (my perlcritic rc points to the koha qa tool one)
      No issues.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-04-22 11:48:40 -03:00
..
config Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
records Bug 11395: New service to preview a record. 2015-03-05 15:27:03 +01:00
authentication Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
barcode Bug 13545 [QA Followup] - Complete POD documentation 2015-02-13 13:48:45 -03:00
bib Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
bib_profile Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
checkin Bug 13330 - All overdue items with fines returned via checkouts table will have fines forgiven! 2014-11-25 15:25:14 -03:00
checkouts Bug 13908 - Checkouts table sorting is not honoring default sort preferences 2015-04-08 10:09:04 -03:00
cover_images Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
holds Bug 13923: The prefetch used on existing constraint 2015-04-08 10:52:10 -03:00
import_bib Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
letters Bug 13215: The same letter code can be used for several libraries 2014-11-27 11:42:14 -03:00
new_bib Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
renew Bug 11703: (qa followup) consistency in svc 2014-07-03 12:38:13 -03:00
report Bug 13880 - Allow svc/report to be passed sql parameters 2015-04-22 11:48:40 -03:00