[Koha-bugs] [Bug 8256] Reports webservice should allow selection by name
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Jun 16 14:31:03 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8256
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10318|0 |1
is obsolete| |
--- Comment #9 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 10320
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10320&action=edit
[SIGNED-OFF] Bug 8256: Teach webservice to select reports by name
Adds the ability to pass a hash to C4::Reports::Guided::get_saved_report
which specifies a name or id to select the report.
Test plan:
1. Create a report (or choose an existing one), and mark it public
2. Run the report using the web service:
[IntranetBaseURL]/cgi-bin/koha/svc/report?id=whatever
3. Confirm you get the expected results
4. Run the report by name using the web service:
[IntranetBaseURL]/cgi-bin/koha/svc/report?name=[Report name] (keep spaces in
the name)
5. Confirm you get the same results
6. Run the report using the public web service:
[OPACBaseURL]/cgi-bin/koha/svc/report?id=whatever
7. Confirm you get the same results
8. Run the report by name using the public web service:
[OPACBaseURL]/cgi-bin/koha/svc/report?name=[Report name] (keep spaces in the
name)
9. Confirm you get the same results
10. Sign off
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
- Adding, editing and deleting reports works
- id parameter works
- new name parameter works
- public and non-public works
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list