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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Fri, 15 Sep 2023 09:50:35 +0000 (09:50 +0000)
commit31e96a527fab4489f2005f3a9cf9534db5d20cc9
tree7a6b5ae4d03c83d0679f3ffc3a715afe35a0aecc
parent1f9f67efb4a3970f73ff50e97e93dbac26ee2730
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>
(cherry picked from commit cec8ef7ae9e36893431cf5ef527ce012551f4bc6)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/Illbackend.pm