]> git.koha-community.org Git - koha.git/commit
Bug 25101: Add ability to skip previewing results when batch extending due dates
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 9 Apr 2020 17:22:01 +0000 (13:22 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 2 Sep 2020 13:35:08 +0000 (15:35 +0200)
commitc41597add3e5cd47109215f30bff889b9ae49176
treecd6e5d1307cfb22aeafc4bb8c0cde501ed51def5
parent4c087b1e594fa6a8fa5309baea29a67159c7c229
Bug 25101: Add ability to skip previewing results when batch extending due dates

For sites with very large amounts of due dates to extend ( tens of thousands ), it can take a very long time of the results to load ( if at all ). It would be good to have a way to bypass the confirmation screen, instead directly updating the due dates before displaying the results.

Test Plan:
1) Apply this patch
2) Browse to tools/batch_extend_due_dates.pl
3) Note the new "Preview results" checkbox
4) Submit form with the checkbox unchecked, due dates should be updated
   without previewing the checkouts
5) Submit form with the checkbox checked, tool should function as
   it did previously

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Bug 25101: (QA follow-up) Add hint to new option

Adds a hint about the large numbers behind the new
checkbox option.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Bug 25101: (QA follow-up) Fix hint for new option

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt
tools/batch_extend_due_dates.pl