mirror of
https://github.com/processwire/processwire.git
synced 2025-08-25 07:41:30 +02:00
Fix "OR-condition not allowed" error introduced from a change related to processwire/processwire-issues#1428
This commit is contained in:
@@ -397,7 +397,7 @@ class InputfieldSelector extends Inputfield implements ConfigurableModule {
|
||||
'page' => array('@=', '@!='),
|
||||
'checkbox' => array('=', '!='),
|
||||
'sort' => array('.=', '.=-'),
|
||||
'status' => array('@=', '@!='),
|
||||
'status' => array('@=', '@!=', '<', '<=', '>', '>='),
|
||||
//'selector' => array('#=', '#!='),
|
||||
'selector' => array('=', '!=', '<', '>', '<=', '>='),
|
||||
);
|
||||
@@ -523,7 +523,7 @@ class InputfieldSelector extends Inputfield implements ConfigurableModule {
|
||||
'temp' => $this->_('Temp'),
|
||||
),
|
||||
'sanitizer' => 'integer',
|
||||
'operators' => array('@=', '@!='),
|
||||
'operators' => $this->operatorsByType['status'],
|
||||
),
|
||||
'template' => array(
|
||||
'input' => 'select',
|
||||
|
Reference in New Issue
Block a user