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' => '='
|
||||
),
|
||||
array(
|
||||
'key' => 'conseiller',
|
||||
'compare' => 'NOT EXISTS'
|
||||
'relation' => 'OR',
|
||||
array(
|
||||
'key' => 'conseiller',
|
||||
'compare' => 'NOT EXISTS'
|
||||
),
|
||||
array(
|
||||
'key' => 'conseiller',
|
||||
'value' => '',
|
||||
'compare' => '='
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user