cache: add the alias "state" for the qualifier "status"

Michael Muré created

both are commonly expected

Change summary

cache/query.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

cache/query.go 🔗

@@ -37,7 +37,7 @@ func ParseQuery(query string) (*Query, error) {
 		qualifierQuery := removeQuote(split[1])
 
 		switch qualifierName {
-		case "status":
+		case "status", "state":
 			f, err := StatusFilter(qualifierQuery)
 			if err != nil {
 				return nil, err