6173 export adherent with numero anonymisation
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
642 | 653 | } |
643 | 654 | |
655 | public function getAnynomousTokenFilter($queryBuilder, $alias, $field, $value) | |
656 | { | |
657 | if (!$value['value']) { | |
658 | return false; | |
659 | } | |
660 | ||
661 | $container = $this->getConfigurationPool()->getContainer(); | |
662 | $em = $container->get('doctrine.orm.entity_manager'); | |
663 | $expr = $em->getExpressionBuilder(); | |
664 | ||
665 | // Use `andWhere` instead of `where` to prevent overriding existing `where` conditions | |
666 | if ($value["value"]) { | |
667 | $queryBuilder->andWhere( | |
668 | '(' . $alias . '.anonymousToken is not null and ' . $alias . '.anonymousToken != false)' | |
Please
register
or
sign in
to reply
|
merged
merged
mentioned in commit fdd31ac6
mentioned in commit fdd31ac6
resolved all discussions
resolved all discussions
This will create a new commit in order to revert the existing changes.