Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
761dbfb3
Commit
761dbfb3
authored
Jul 31, 2020
by
catch
Browse files
Issue
#3161199
by lauriii, bnjmnm: Remove $no_operator = TRUE from Views BooleanOperator
parent
703dbe13
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/views/src/Plugin/views/filter/BooleanOperator.php
View file @
761dbfb3
...
...
@@ -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
;
...
...
core/modules/views_ui/tests/src/Functional/FilterBooleanWebTest.php
View file @
761dbfb3
...
...
@@ -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'
));
...
...
catch
@catch
mentioned in commit
3e9838b5
·
Jul 31, 2020
mentioned in commit
3e9838b5
mentioned in commit 3e9838b532b7f7fdd9b80510372509e1acaa7e33
Toggle commit list
catch
@catch
mentioned in commit
8ef98edc
·
Jul 31, 2020
mentioned in commit
8ef98edc
mentioned in commit 8ef98edce6638512101e50d9d30f688bc7ef4cdd
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment