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

--- Comment #3 from Kyle M Hall (khall) <[email protected]> ---
Created attachment 199599
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199599&action=edit
Bug 42108: Implement use of run_type

Adds a "Run type" pulldown to the reports editor.

If the report specifies foreground or background, it skip the
intermediate step where the user would normally pick between
foreground and background and just run it using the given type.

Export and svc/report still pass a run_type of foreground, so
running a background-only report through those endpoints gives an
error ( on purpose ). The ability to run background reports for
svc/report will be addressed in a future bug report.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Restart all the things!
4) Browse to reports/guided_reports.pl, create a report
   Set the new report to "background only"
5) Run the report
6) Note it is run immediately as a background job without the
   intermediary step of selecting the run type
7) Edit the report, set it to foreground only
8) Run the repot
9) Note it again skips the middle step, but this time runs
   as if foreground were selected
10) Set to "both", not you again have both choices as before this patch set!

Signed-off-by: Kyle M Hall <[email protected]>

-- 
You are receiving this mail because:
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