Bug 32653: Fix curbside pickup if configured on more than 1 branch
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 17 Jan 2023 16:25:39 +0000 (17:25 +0100)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Fri, 24 Feb 2023 11:05:34 +0000 (11:05 +0000)
commite75067f8d746576203fcd526e32646aa0ecc2a7b
treef98bf050d4f34dab1368f495dd8e6efe31bec11e
parent801081139f9674e351d123fbd4e07de6327c8121
Bug 32653: Fix curbside pickup if configured on more than 1 branch

If curbside pickup is configured on more than 1 branch, the calendar
will not display the correct day.

We are always selecting the days for the last branch.

Test plan:
Configure curbside pickup for
CPL Monday 8:12
FPL Tuesday 12:15

Login at the opac, select CPL, notice Tuesday are available

Apply the patch and confirm all is working correctly now.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 64e14f90b5c180b561bfe9c07e30f1456ef49a2e)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt