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
2d4478df
Commit
2d4478df
authored
Jun 17, 2013
by
webchick
Browse files
Issue
#2020697
by heddn: Rename Views method add_filter() to addFilter().
parent
071fa21e
Changes
4
Hide whitespace changes
Inline
Side-by-side
core/modules/views/lib/Drupal/views/ManyToOneHelper.php
View file @
2d4478df
...
...
@@ -257,7 +257,7 @@ protected function placeholder() {
return
$this
->
handler
->
query
->
placeholder
(
$this
->
handler
->
options
[
'table'
]
.
'_'
.
$this
->
handler
->
options
[
'field'
]);
}
function
add
_f
ilter
()
{
public
function
add
F
ilter
()
{
if
(
empty
(
$this
->
handler
->
value
))
{
return
;
}
...
...
core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php
View file @
2d4478df
...
...
@@ -132,7 +132,7 @@ public function query($group_by = FALSE) {
$this
->
operator
=
'or'
;
}
$this
->
helper
->
add
_f
ilter
();
$this
->
helper
->
add
F
ilter
();
}
function
title
()
{
...
...
core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php
View file @
2d4478df
...
...
@@ -201,7 +201,7 @@ public function query($group_by = FALSE) {
$this
->
helper
->
formula
=
TRUE
;
}
$this
->
helper
->
ensureMyTable
();
$this
->
helper
->
add
_f
ilter
();
$this
->
helper
->
add
F
ilter
();
return
;
}
...
...
core/modules/views/lib/Drupal/views/Plugin/views/filter/ManyToOne.php
View file @
2d4478df
...
...
@@ -134,7 +134,7 @@ protected function opHelper() {
if
(
empty
(
$this
->
value
))
{
return
;
}
$this
->
helper
->
add
_f
ilter
();
$this
->
helper
->
add
F
ilter
();
}
}
Write
Preview
Supports
Markdown
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