Bug 32883: Correct cubside pickups ordering
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 6 Feb 2023 15:48:54 +0000 (16:48 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 11 Apr 2023 09:18:23 +0000 (10:18 +0100)
commitf62c526fb991ff2e024e6ef349ed24e13785514b
tree2ff1b65b43bf15688875cc3ed92bb9044691779b
parent207349be3ae6793ee83141da2648e695b5f711aa
Bug 32883: Correct cubside pickups ordering

They are displayed by date of creation, it's not what we want for "to be
staged" for instance, where it needs to be ordered by date/time of
scheduled pickup.

Test plan:
Create several curbside pickups, to have some in the different tabs
Confirm that the order is the one you expect.
=> to be staged ordered by pickup date/time
=> stage and ready ordered by pickup date/time
=> patron is outside ordered by arrival date/time
=> delivered today ordered by *desc* delivered date/time

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 4943f060712422f4f5dcf8065b1f2593e18a1a6d)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
circ/curbside_pickups.pl