FIX updated query logic to handle 'conseiller' key checks for both non-existence and empty values
This commit is contained in:
parent
ae7be6a78a
commit
d41ec9fa73
|
|
@ -30,8 +30,16 @@ $queryAllUnaffectedArtisansByStatus = array(
|
||||||
'compare' => '='
|
'compare' => '='
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'key' => 'conseiller',
|
'relation' => 'OR',
|
||||||
'compare' => 'NOT EXISTS'
|
array(
|
||||||
|
'key' => 'conseiller',
|
||||||
|
'compare' => 'NOT EXISTS'
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'key' => 'conseiller',
|
||||||
|
'value' => '',
|
||||||
|
'compare' => '='
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user