There should be an option to download a report directly, rather than having to run the report and then choose to download it (effectively running it twice). This would be especially helpful when dealing with reports that take a while to load, though it would also be convenient for reports that are run regularly for distribution and therefore really don't need to be previewed on the screen before downloading.
As far as I can tell the main problem with implementing this is that before initiating a download, Koha has to have received any search parameters you're submitting along with the SQL. A direct download button would give you unlimited results in cases where runtime parameters are used.
(In reply to Owen Leonard from comment #1) > As far as I can tell the main problem with implementing this is that before > initiating a download, Koha has to have received any search parameters > you're submitting along with the SQL. A direct download button would give > you unlimited results in cases where runtime parameters are used. I was thinking that too. Perhaps this can be addressed in two steps: 1.) Add a download link to the options menu (along with run, duplicate, etc...) there can be an option to download the report on the page where you set the parameters. a.)If the report requires no parameters to be set before being run, then it would download it directly. b.) If parameters do need to be set it would continue on to the page where these may be entered 2.) Add an option next to the parameters page to download the report directly
How about on the parameters page, just put a button to download next to the Run the report button?
Thanks, Chris. I believe that's what I intended to suggest by 2.), but see that I didn't really type that (I believe I meant to type "add an option on the param..." instead of saying "next to"). I figure that we'd still need it as an option along with the run/show/etc... choices since not all reports require parameters to be entered before you run them (and hence wouldn't have a parameters page where one could choose to download or run).