Mautic Community Forums

How list filter work? (database)

Hi,

I’m trying to wrap my mind around Mautic lists. I have a list with one rule: Email is known, which has filters saved in database as:

Code:
a:1:{i:0;a:7:{s:4:"glue";s:3:"and";s:5:"field";s:5:"email";s:6:"object";s:4:"lead";s:4:"type";s:5:"email";s:6:"filter";N;s:7:"display";N;s:8:"operator";s:6:"!empty";}}

I found operators used here in getChoiceFields() method in https://github.com/mautic/mautic/blob/staging/app/bundles/LeadBundle/Model/ListModel.php

How does this code is translated into actions?

Hi,
I’m trying to wrap my mind around Mautic lists. I have a list with one rule: Email is known, which has filters saved in database as:

a:1:{i:0;a:7:{s:4:"glue";s:3:"and";s:5:"field";s:5:"email";s:6:"object";s:4:"lead";s:4:"type";s:5:"email";s:6:"filter";N;s:7:"display";N;s:8:"operator";s:6:"!empty";}}

I found operators used here in getChoiceFields() method in https://github.com/mautic/mautic/blob/staging/app/bundles/LeadBundle/Model/ListModel.php

How does this code is translated into actions?