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

M. Tompsett <[email protected]> changed:

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

--- Comment #8 from M. Tompsett <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to