From 6ca2c4c3fa9366a90a9ec44445f27dc233ad224c Mon Sep 17 00:00:00 2001 From: rosenstrauch Date: Sat, 16 Nov 2024 12:12:58 +0100 Subject: [PATCH] fix(TaggingRule): allowed variable should match docs add missing 'r' here to allow creating tagging rules using the documented isStarred filter. --- src/Entity/TaggingRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/TaggingRule.php b/src/Entity/TaggingRule.php index 9d22cbee9..c7834a801 100644 --- a/src/Entity/TaggingRule.php +++ b/src/Entity/TaggingRule.php @@ -34,7 +34,7 @@ class TaggingRule implements RuleInterface * @Assert\NotBlank() * @Assert\Length(max=255) * @RulerZAssert\ValidRule( - * allowed_variables={"title", "url", "isArchived", "isStared", "content", "language", "mimetype", "readingTime", "domainName"}, + * allowed_variables={"title", "url", "isArchived", "isStarred", "content", "language", "mimetype", "readingTime", "domainName"}, * allowed_operators={">", "<", ">=", "<=", "=", "is", "!=", "and", "not", "or", "matches", "notmatches"} * ) * @ORM\Column(name="rule", type="string", nullable=false)