Bug 32788: Order curbside pickup slots chronologically
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 6 Feb 2023 16:03:32 +0000 (17:03 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 7 Feb 2023 18:31:40 +0000 (15:31 -0300)
commit0481f1d74e7d6175e1eb31b299f01c7cc7ce6090
treedc7e2d6612044e597ffc954f244b9d18c13cc47c
parentac1e80400d3ab21001a5c0259a09280a7ab1cbfe
Bug 32788: Order curbside pickup slots chronologically

We need to order the slots chronologically, not depending on when they
have been added.

Test plan:
Create a slot 13 to 17 the another one 8 to 12
We want to display 8 to 12 before 13 to 17.
Confirm that this patch fixes that on the 3 following views:
Curbside pickups admin
Curbside pickups staff side
Curbside pickups at the OPAC

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/curbside_pickup.tt
koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt