[Koha-bugs] [Bug 11491] Extending report service to have header

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 30 23:27:13 CET 2014


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

M. Tompsett <mtompset at hotmail.com> changed:

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

--- Comment #8 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 24909
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24909&action=edit
Bug 11491 - Missing header fields in JSON data

Added a header parameter, which when non-empty will add the
header fields of the query in question as the first element of
the JSON array.

Added header ability to staff svc/report as well.

Moved code around to make diffs between svc/report and
opac/svc/report smaller.

TEST PLAN
---------
1) Log into staff client
2) Reports
3) Used save reports
4) Click the Action button on any report
5) Click Edit
6) Make the report public
7) Update the SQL
8) Note the ID number of the report
9) In a new tab
     https://.../cgi-bin/koha/svc/report?id=##
10) The returned JSON should not have a header.
11) Go to
     https://.../cgi-bin/koha/svc/report?id=##&header=1
12) The returned JSON should have a header.
13) ~/qa-test-tools/koha-qa.pl -v 2 -c 2
    NOTE: There are two patches, but you could just test 1.

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


More information about the Koha-bugs mailing list