Bug 20834

Summary: Allow saving scheduled report output as a list/virtualshelf
Product: Koha Reporter: paxed <pasi.kallinen>
Component: ReportsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description paxed 2018-05-30 09:30:33 UTC
When scheduling a saved report, it would be useful if it was possible to save the report output as a (public) list - this way administrators could create automatically updating lists.

Thinking of code changes:
- probably need a new virtualshelves.category to denote automatically generated list
- handling the category in the virtualshelves UI, disallow adding/removing items from the list. How to handle deleting the list?
- the saved sql report should only select biblionumbers. Not quite sure how to do the UI side - maybe allow creating a new list from scheduler.tt, and autopicking the list number? 
- some changes needed in runreport.pl