From 891700d6405783f694040757e92bebb49e1c1154 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Fri, 28 Jul 2023 09:59:08 +0000 Subject: [PATCH] Bug 34431: Add 'type' to existing_statuses method Signed-off-by: Stephen Graham Signed-off-by: Tomas Cohen Arazi Signed-off-by: Katrin Fischer --- Koha/Illbackend.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Koha/Illbackend.pm b/Koha/Illbackend.pm index ab31d05495..5be0c6efd7 100644 --- a/Koha/Illbackend.pm +++ b/Koha/Illbackend.pm @@ -73,6 +73,7 @@ sub existing_statuses { : $status_data->{status}->{code} ? ( str => $status_data->{status}->{code} ) : (), $status_data->{status}->{code} ? ( code => $status_data->{status}->{code} ) : (), + $status_data->{status}->{type} ? ( type => $status_data->{status}->{type} ) : (), }; } } @@ -96,6 +97,7 @@ sub existing_statuses { : $status_data->{status_alias}->{code} ? ( str => $status_data->{status_alias}->{code} ) : (), $status_data->{status_alias}->{code} ? ( code => $status_data->{status_alias}->{code} ) : (), + $status_data->{status_alias}->{type} ? ( type => $status_data->{status_alias}->{type} ) : (), }; } } -- 2.39.5