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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 21 Feb 2023 13:21:47 +0000 (10:21 -0300)
commit64e14f90b5c180b561bfe9c07e30f1456ef49a2e
tree81b8e133502e6f168ed376a4859a56fe9a3ee403
parent9863c18cc87e0e49923eeb585319f6e6c46172b0
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt