[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 00:01:49 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8256

Jared Camins-Esakov <jcamins at cpbibliography.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10309|0                           |1
        is obsolete|                            |

--- Comment #4 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 10314
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10314&action=edit
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

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


More information about the Koha-bugs mailing list