Bug 13445: Remove URL option from scheduled reports, add Text option
authorphette23 <phette23@gmail.com>
Fri, 6 Apr 2018 21:15:26 +0000 (14:15 -0700)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 23 Apr 2018 17:22:16 +0000 (14:22 -0300)
Remove the non-functional 'URL' format
Offer the (functional) CSV & HTML formats

testing plan:
- visit the task scheduler tool at cgi-bin/koha/tools/scheduler.pl
- 'Output format' select list should offer Text (TSV), CSV, & HTML
- scheduled reports for each of the above types should run & send emails correctly

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Maksim Sen <maksim.sen@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt

index e8ff186..de39e41 100644 (file)
 [% END %]
 </select>
 </li>
-<li><label for="format">Output format:</label>
-<select name="format" id="format">
-<option value="text">Text</option>
-<option value="url">URL</option>
-</select>
+<li>
+    <label for="format">Output format:</label>
+    <select name="format" id="format">
+        <option value="text">Text (TSV)</option>
+        <option value="csv">CSV</option>
+        <option value="html">HTML</option>
+    </select>
 </li>
 <li><label for="email">Email:</label>
 
@@ -59,7 +61,7 @@
 </ol></fieldset>
 <fieldset class="action"><input class="submit-button" type="submit" value="Save" /></fieldset>
 </form>
-  
+
 [% IF ( JOBS ) %]<h2>Jobs already entered</h2>
 <table>
 <tr>