Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group Filters for Segments #6636

Closed
iwantaspeaker opened this issue Sep 24, 2018 · 2 comments
Closed

Group Filters for Segments #6636

iwantaspeaker opened this issue Sep 24, 2018 · 2 comments
Labels
feature A new feature for inclusion in minor or major releases

Comments

@iwantaspeaker
Copy link

Please DO NOT report security vulnerabilities here. Send them to security@mautic.com instead.

What type of report is this:

Q A
Bug report?
Feature request? Yes
Enhancement?

Description:

When creating the filter on a segment, i currently cant filter with multiple grouped or values.
i.e.
'Tags' Include 'Number 1'
AND
( Stage != 'A', OR 'B', OR 'C')

The returned value I would expect would be "All contacts with a Tag or "Number 1" that is NOT in stages A, B. or C .

If I am understanding it correct, currently i would have to write it as:

Tags Include "Number 1" and Stage != 'A'
OR
Tags Include "Number 1" and Stage != 'B'
OR
Tags Include "Number 1" and Stage != 'C'

Which is very wasteful.

My request is that we be able to group the filters as:

'Tags Include 'Number 1'
AND
{ Stage != 'A'
OR
Stage != 'B'
OR
Stage != 'C' }

If a bug:

Q A
Mautic version
PHP version

Steps to reproduce:

  1. Click Segments
  2. Click +New
  3. Click Filters

Log errors:

Please check for related errors in the latest log file in [mautic root]/app/log/ and/or the web server's logs and post them here. Be sure to remove sensitive information if applicable.

@escopecz escopecz added the feature A new feature for inclusion in minor or major releases label Oct 15, 2018
@mautibot
Copy link

This issue has been mentioned on Mautic Community Forums. There might be relevant details there:

https://forum.mautic.org/t/group-filters-for-segments/12692/1

@RCheesley
Copy link
Sponsor Member

I've just posted this up on the feature requests forum so will close down this issue in favour of discussions happening there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature for inclusion in minor or major releases
Projects
None yet
Development

No branches or pull requests

4 participants