Bug 34223: (follow-up) Restore status_alias handling
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Thu, 27 Jul 2023 11:25:20 +0000 (12:25 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 6 Sep 2023 18:05:22 +0000 (15:05 -0300)
commitb67a4f8549d03a43ca771acc205779a78708240d
treed37b642bc9fbfe75f8702fe297c1cae4959efc22
parent87d1b1fdb61ea27effbac654d55923bf6abbe1ab
Bug 34223: (follow-up) Restore status_alias handling

By reducing the original call to all distinct 'status' we also removed
the status_alias combinations. This patch adds an additional distinct
query to fetch all 'status_alias' and add them to the returned data
structure.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Illbackend.pm