fix(TaggingRule): allowed variable should match docs

add missing 'r' here to allow creating tagging rules using the documented isStarred filter.
This commit is contained in:
rosenstrauch 2024-11-16 12:12:58 +01:00 committed by GitHub
parent 816d9f85d6
commit 6ca2c4c3fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@ class TaggingRule implements RuleInterface
* @Assert\NotBlank() * @Assert\NotBlank()
* @Assert\Length(max=255) * @Assert\Length(max=255)
* @RulerZAssert\ValidRule( * @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"} * allowed_operators={">", "<", ">=", "<=", "=", "is", "!=", "and", "not", "or", "matches", "notmatches"}
* ) * )
* @ORM\Column(name="rule", type="string", nullable=false) * @ORM\Column(name="rule", type="string", nullable=false)