Commit 590ce97d by Yvon Kerdoncuff

Merge branch 'fix-anonymous-code-filter' into 'develop'

fix admin adherents list anonymous code filter dont show all results

See merge request cooperatic/kohinos-tav!111
parents 2357feb2 4dd4d94c
......@@ -722,7 +722,7 @@ class AdherentAdmin extends AbstractAdmin
// Use `andWhere` instead of `where` to prevent overriding existing `where` conditions
if ($value["value"]) {
$queryBuilder->andWhere(
'(' . $alias . '.anonymousToken is not null and ' . $alias . '.anonymousToken != false)'
$alias . '.anonymousToken IS NOT NULL'
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment