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

Cannot build a segment based on "empty" extended field. #29

Open
cykonetic opened this issue Apr 16, 2018 · 1 comment
Open

Cannot build a segment based on "empty" extended field. #29

cykonetic opened this issue Apr 16, 2018 · 1 comment
Labels

Comments

@cykonetic
Copy link
Contributor

Creating segments based on extended fields fails to recognize never set extended fields Ex

With an extended field:
Segment Ageless: Filter afb_age is empty, 0 records

With a lead field:
Segment jobless: Filter position is empty: 130184 records

@cykonetic cykonetic changed the title Field does not exist if never explicitly set ExtendedField does not exist if never explicitly set Apr 16, 2018
@heathdutton
Copy link
Member

Will need to update this section:

case 'empty':
$details['filter'] = '';
$groupExpr->add(
// first the column for filter field name
$q->expr()->andX(
$q->expr()->eq($fieldNameColumn, $fieldNameValue),
$this->generateFilterExpression($q, $field, 'eq', $exprParameter, true)
)
);
break;

@heathdutton heathdutton changed the title ExtendedField does not exist if never explicitly set Cannot build a segment based on "empty" extended field. Jun 1, 2018
@heathdutton heathdutton added the bug label Jun 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants