Koha-clms/Koha/REST
Pedro Amorim feea30d42b Bug 28641: ILLHiddenRequestStatuses does not consider custom statuses
This patch adds the status_alias column to the ILLHiddenRequestStatuses sys pref check.
Because requests will have status_alias NULL by default, we also check for that.

Test plan:
Create multiple ILL requests of different backends and place them in different status (NEW, COMP, REQ, etc)
Create multiple ILLSTATUS entries
Add and remove a mix of both status and status_alias codes in ILLHiddenRequestStatuses and refresh the ILL requests page to confirm the result is according to expectation.

Sponsored-by: PTFS Europe

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit aaa5bcd16b)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
2023-04-11 11:28:45 +00:00
..
Plugin Bug 32713: Throw exception on unexpected x-koha-embed header 2023-03-21 16:31:05 +00:00
V1 Bug 28641: ILLHiddenRequestStatuses does not consider custom statuses 2023-04-11 11:28:45 +00:00
V1.pm Bug 31378: (follow-up) catch startup error when missing Oauth provider table 2022-11-08 14:40:10 -03:00