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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 8 Sep 2023 19:29:03 +0000 (09:29 -1000)
commitcec8ef7ae9e36893431cf5ef527ce012551f4bc6
treeb5393a754ff10d89f2d4997f4a2ed321010d5d62
parentc145f874eb5695433dd3297400f9bc784932892a
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>
(cherry picked from commit b67a4f8549d03a43ca771acc205779a78708240d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Illbackend.pm