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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Mar 2023 09:49:33 +0000 (11:49 +0200)
commit4943f060712422f4f5dcf8065b1f2593e18a1a6d
treea7a5d08bf05943a863c2950eb8467666dc970c82
parent0970eef56df1ac8fee1f3c5f0216a164be5048ec
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>
circ/curbside_pickups.pl