From f06e332c44f81a26a04b85b46d613c4c8fb9e098 Mon Sep 17 00:00:00 2001 From: Lynn Date: Thu, 19 Mar 2026 20:41:02 +0800 Subject: [PATCH] Fix: allow on (#13704) ### What problem does this PR solve? Allow input on/ON as status. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- admin/client/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/client/parser.py b/admin/client/parser.py index 86194f2780..471ff699a7 100644 --- a/admin/client/parser.py +++ b/admin/client/parser.py @@ -320,7 +320,7 @@ identifier_list: identifier ("," identifier)* identifier: WORD quoted_string: QUOTED_STRING -status: WORD +status: ON | WORD QUOTED_STRING: /'[^']+'/ | /"[^"]+"/ WORD: /[a-zA-Z0-9_\-\.]+/