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

--- Comment #1 from Nick Clemens <[email protected]> ---
Created attachment 164385
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164385&action=edit
Bug 36504: Add attach_only option to run report

To test:
1 - Create a report in Koha
2 - Have koha setup to send emails
3 - perl misc/cronjobs/runreport.pl --to="[email protected]"
--subject="Report cronjob" --format=csv --csv-header -a 1
4 - Note the email body and attachment contain the results
5 - Apply this patch
6 - Repeat above
7 - Note the email body says "Repost results attached"
8 - Confirm results attached
9 - Adjust report to have 0 results
10 - perl misc/cronjobs/runreport.pl --to="[email protected]"
--subject="Report cronjob" --format=csv --csv-header -a 1 --send_empty
11 - Confirm the attachment exists, but message body indicates no results

-- 
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