Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
7ab5c07b
Commit
7ab5c07b
authored
May 29, 2013
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2002368
by baldwinlouie: Rename Views method build_condition() to buildCondition().
parent
e55477f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
...modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
+3
-3
No files found.
core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
View file @
7ab5c07b
...
...
@@ -1084,7 +1084,7 @@ function placeholder($base = 'views') {
* @param $where
* 'where' or 'having'.
*/
function
build
_c
ondition
(
$where
=
'where'
)
{
protected
function
build
C
ondition
(
$where
=
'where'
)
{
$has_condition
=
FALSE
;
$has_arguments
=
FALSE
;
$has_filter
=
FALSE
;
...
...
@@ -1343,7 +1343,7 @@ public function query($get_count = FALSE) {
foreach
(
$groupby
as
$field
)
{
$query
->
groupBy
(
$field
);
}
if
(
!
empty
(
$this
->
having
)
&&
$condition
=
$this
->
build
_c
ondition
(
'having'
))
{
if
(
!
empty
(
$this
->
having
)
&&
$condition
=
$this
->
build
C
ondition
(
'having'
))
{
$query
->
havingCondition
(
$condition
);
}
}
...
...
@@ -1362,7 +1362,7 @@ public function query($get_count = FALSE) {
}
}
if
(
!
empty
(
$this
->
where
)
&&
$condition
=
$this
->
build
_c
ondition
(
'where'
))
{
if
(
!
empty
(
$this
->
where
)
&&
$condition
=
$this
->
build
C
ondition
(
'where'
))
{
$query
->
condition
(
$condition
);
}
...
...
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