@@ -, +, @@ - This patch provides the illrequests API route with an additional embed, - This patch also adds the new status_alias as a default embed on the API --- Koha/REST/V1/Illrequests.pm | 3 +++ 1 file changed, 3 insertions(+) --- a/Koha/REST/V1/Illrequests.pm +++ a/Koha/REST/V1/Illrequests.pm @@ -155,6 +155,9 @@ sub list { if ($embed{comments}) { $to_push->{comments} = $req->illcomments->count; } + if ($embed{status_alias}) { + $to_push->{status_alias} = $req->statusalias; + } push @output, $to_push; } --