Skip to content

Update segment filter operator labels for Mautic 7.x#764

Open
promptless-for-oss wants to merge 1 commit into
mautic:7.1from
Promptless:promptless/segment-operator-labels
Open

Update segment filter operator labels for Mautic 7.x#764
promptless-for-oss wants to merge 1 commit into
mautic:7.1from
Promptless:promptless/segment-operator-labels

Conversation

@promptless-for-oss

Copy link
Copy Markdown

Open this suggestion in Promptless to view citations and reasoning process

Updates operator names in segment filter documentation to match the user-friendly labels introduced in Mautic 7.x via PR #15027.

Changes

docs/segments/manage_segments.rst

  • Operator list updates: Changed operator names to match the new UI labels (equals → is equal to, not equal → is not equal to, empty → is empty, not empty → is not empty, like → contains, not like → doesn't contain, regexp → matches pattern, not regexp → does not match pattern, contains → in list)
  • Matching part of a string section: Updated references from the old "like" operator to the new "contains" name, and from old "contains" to new "in list"
  • Date filter examples: Updated example text that referenced "equals" to use "is equal to"

Trigger Events


Tip: Tag @Promptless in GitHub PR comments to guide documentation changes during code review 🐙

Updates operator names throughout the segment filter documentation to
reflect the user-friendly labels introduced in Mautic 7.x. This change
aligns documentation with the actual UI text users see when creating
segment filters.

Operator label changes:
- equals → is equal to
- not equal → is not equal to
- empty → is empty
- not empty → is not empty
- like → contains
- not like → doesn't contain
- regexp → matches pattern
- not regexp → does not match pattern
- contains → in list
Once you've selected a date field as your filter, such as the default **Date last active** field or a custom **Birthday** field, you'll have a list of operators to choose from:

* **Equals** - The value on the Contact record exactly matches the filter value.
* **Is equal to** - The value on the Contact record exactly matches the filter value.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #15027 renamed segment filter operators to be more user-friendly. The translation file changes in app/bundles/LeadBundle/Translations/en_US/messages.ini show the new operator labels: equalsis equal to, notequalsis not equal to, isemptyis empty, isnotemptyis not empty, islikecontains, isnotlikedoesn't contain, regexpmatches pattern, notregexpdoes not match pattern, inincludes any of, notinexcludes any of.

Source: mautic/mautic#15027

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant