https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37382

ByWater Sandboxes <[email protected]> changed:

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

--- Comment #3 from ByWater Sandboxes <[email protected]> ---
Created attachment 169780
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169780&action=edit
Bug 37382: Report download is empty except for headers if .tab format is
selected

When exporting a report in tab delimited format, the downloaded file
    would have the header rows but no data results.
Also, misc files are created on the server file system in koha/reports
    with data that should have been in the .tab file.
This patch fixes both of these issues.

To test:
1. Login to staff client
2. Go to Reports and create a report from SQL - sample report
    SELECT i.barcode, b.title, b.biblionumber, i.itemnumber
        FROM items i
        LEFT JOIN biblio b on i.biblionumber = b.biblionumber
        WHERE i.itemnumber < 50
3. Run the report
4. Click 'Download'->'Tab separated text'
5. Download file
6. Open file in a text editor or favorite spreadsheet app
    File will have headers rows, but no other item data
6a. If able, check the server filesystem in koha/reports
        There may be files there related to report data. Remove.
7. Apply Patch
8. Repeat steps 3-6,
    File will now have the table data, hooray!
8a. If able, check the server filesystem in koha/reports
        No new files should be created.

Signed-off-by: Laura ONeil <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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