From dab7b2551dec32bf964e45fc7d7004bac3422fc1 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 2 Aug 2024 08:06:41 +0100 Subject: [PATCH] Add cancelled to list of statuses. --- perllib/Open311/Endpoint/Role/mySociety.pm | 2 ++ perllib/Open311/Endpoint/Service/Request/Update/mySociety.pm | 1 + perllib/Open311/Endpoint/Service/Role/ExtendedStatus.pm | 1 + 3 files changed, 4 insertions(+) diff --git a/perllib/Open311/Endpoint/Role/mySociety.pm b/perllib/Open311/Endpoint/Role/mySociety.pm index 756fd8a58..069b234ef 100644 --- a/perllib/Open311/Endpoint/Role/mySociety.pm +++ b/perllib/Open311/Endpoint/Role/mySociety.pm @@ -339,6 +339,7 @@ sub learn_additional_types { 'not_councils_responsibility', 'no_further_action', 'internal_referral', + 'cancelled', 'reopen', 'for_triage', ) @@ -356,6 +357,7 @@ sub learn_additional_types { 'NOT_COUNCILS_RESPONSIBILITY', 'NO_FURTHER_ACTION', 'INTERNAL_REFERRAL', + 'CANCELLED', 'REOPEN', 'FOR_TRIAGE', ) diff --git a/perllib/Open311/Endpoint/Service/Request/Update/mySociety.pm b/perllib/Open311/Endpoint/Service/Request/Update/mySociety.pm index 8f6dd7eac..de62b6165 100644 --- a/perllib/Open311/Endpoint/Service/Request/Update/mySociety.pm +++ b/perllib/Open311/Endpoint/Service/Request/Update/mySociety.pm @@ -19,6 +19,7 @@ has status => ( 'not_councils_responsibility', 'no_further_action', 'internal_referral', + 'cancelled', 'reopen', 'for_triage', ], diff --git a/perllib/Open311/Endpoint/Service/Role/ExtendedStatus.pm b/perllib/Open311/Endpoint/Service/Role/ExtendedStatus.pm index 7a9845b67..3998f493c 100644 --- a/perllib/Open311/Endpoint/Service/Role/ExtendedStatus.pm +++ b/perllib/Open311/Endpoint/Service/Role/ExtendedStatus.pm @@ -15,6 +15,7 @@ has '+status' => ( 'not_councils_responsibility', 'duplicate', 'internal_referral', + 'cancelled', 'fixed', 'closed', 'for_triage',