update drupal
This commit is contained in:
@@ -105,7 +105,7 @@ class ViewsExposedForm extends FormBase {
|
||||
// Grouped exposed filters have their own forms.
|
||||
// Instead of render the standard exposed form, a new Select or
|
||||
// Radio form field is rendered with the available groups.
|
||||
// When an user choose an option the selected value is split
|
||||
// When an user chooses an option the selected value is split
|
||||
// into the operator and value that the item represents.
|
||||
if ($handler->isAGroup()) {
|
||||
$handler->groupForm($form, $form_state);
|
||||
|
||||
@@ -43,8 +43,6 @@ class BooleanOperator extends FilterPluginBase {
|
||||
|
||||
// exposed filter options
|
||||
protected $alwaysMultiple = TRUE;
|
||||
// Don't display empty space where the operator would be.
|
||||
public $no_operator = TRUE;
|
||||
// Whether to accept NULL as a false value or not
|
||||
public $accept_null = FALSE;
|
||||
|
||||
|
||||
@@ -452,7 +452,7 @@ class InOperator extends FilterPluginBase {
|
||||
}
|
||||
}
|
||||
elseif (!empty($this->value) && ($this->operator == 'in' || $this->operator == 'not in')) {
|
||||
$errors[] = $this->t('The value @value is not an array for @operator on filter: @filter', ['@value' => var_export($this->value), '@operator' => $this->operator, '@filter' => $this->adminLabel(TRUE)]);
|
||||
$errors[] = $this->t('The value @value is not an array for @operator on filter: @filter', ['@value' => var_export($this->value, TRUE), '@operator' => $this->operator, '@filter' => $this->adminLabel(TRUE)]);
|
||||
}
|
||||
return $errors;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user