Bug 30963: Automatically refresh the curbside pickups list
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 4 Nov 2022 15:33:44 +0000 (16:33 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 1 Dec 2022 12:34:48 +0000 (09:34 -0300)
commit75a3c923c3895e8510910fbe36b234616d58849a
treeea0e8e7b82c7804aed74d8859d96ee3c362d71d7
parent58580d2bb476233a2407f3e267e5ed20b07b1729
Bug 30963: Automatically refresh the curbside pickups list

Librarians would like the page to be automatically refreshed every X minutes.

This patch is suggesting to have a checkbox at the top of the page to
let the user refresh the page given the delay they want.

We could later improve this by setting this value in a localStorage
variable.

Test plan:
Go to the curbside pickup page
Notice the new checkbox at the top
Notice that the "Refresh" button has been moved at the top as well
Play with the checkbox and the input, and confirm that the behaviour is
consistent

Sponsored-by: Association KohaLa - https://koha-fr.org/
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
circ/curbside_pickups.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt