From 4dc6ac24bbc6844aba1fd8599e92524d979f519d 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 --- Koha/Illbackend.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Koha/Illbackend.pm b/Koha/Illbackend.pm index df29e970a5..4bbb2bb178 100644 --- a/Koha/Illbackend.pm +++ b/Koha/Illbackend.pm @@ -72,6 +72,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} ) : (), }; } } @@ -94,6 +95,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.30.2