From ff3dee7a96e4f8273be7549849265777353c260f Mon Sep 17 00:00:00 2001 From: Adam Styles Date: Wed, 22 Mar 2023 11:52:47 +0000 Subject: [PATCH] Bug 33304: Report schedule form time input element attribute type changed to improves valid time value entry I offer an enhancement for the task scheduler form: /cgi-bin/koha/tools/scheduler.pl via scheduler.tt The time input element currently has an 'text' value for type attribute. This requires a user to enter a valid time string for any scheduled report manually which is no fun. I have created patch in scheduler.tt that changes the type attribute value from 'text' to 'time' which makes the input of valid time easy. This change leveraged standard web form principles of html5 and would be compatible with any modern browser such as chrome, firefox and safari. To test: 1) login to koha instance 2) navigate to report module from home page 3) create test report with basic action and save. (no actual run of report is requires, simply need to save with valid syntax) ... SELECT id FROM biblio_metadata LIMIT 1 ... 4) Press 'Schedule' icon from nav options 5) Enter relevant time value for schedule in 'time' input element which now has type 'time' attribute 3.00 pm, added easily. 6) Enter valid future date 7) Enter valid email address and press 'Save' 8) SIGN OFF Signed-off-by: David Nind --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt index bd76a4a4ee..9ea19156e1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt @@ -48,7 +48,7 @@
  • Current server time is: [% time | html %]
  • -
  • +
  • -- 2.30.2