Loading core/modules/views/src/Plugin/views/filter/BooleanOperator.php +0 −2 Original line number Diff line number Diff line Loading @@ -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; Loading core/modules/views_ui/tests/src/Functional/FilterBooleanWebTest.php +5 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,11 @@ public function testFilterBooleanUI() { $result = $this->cssSelect('#edit-options-value--wrapper legend span'); $this->assertEqual($result[0]->getHtml(), 'Status'); // Ensure that the operator and the filter value are displayed using correct // layout. $this->assertSession()->elementExists('css', '.views-left-30 .form-item-options-operator'); $this->assertSession()->elementExists('css', '.views-right-70 .form-item-options-value'); $this->drupalPostForm(NULL, [], t('Expose filter')); $this->drupalPostForm(NULL, [], t('Grouped filters')); Loading Loading
core/modules/views/src/Plugin/views/filter/BooleanOperator.php +0 −2 Original line number Diff line number Diff line Loading @@ -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; Loading
core/modules/views_ui/tests/src/Functional/FilterBooleanWebTest.php +5 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,11 @@ public function testFilterBooleanUI() { $result = $this->cssSelect('#edit-options-value--wrapper legend span'); $this->assertEqual($result[0]->getHtml(), 'Status'); // Ensure that the operator and the filter value are displayed using correct // layout. $this->assertSession()->elementExists('css', '.views-left-30 .form-item-options-operator'); $this->assertSession()->elementExists('css', '.views-right-70 .form-item-options-value'); $this->drupalPostForm(NULL, [], t('Expose filter')); $this->drupalPostForm(NULL, [], t('Grouped filters')); Loading