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
6d411619
Commit
6d411619
authored
May 29, 2013
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2002338
by schiavone, elvis2: Rename Views method add_tag() to addTag().
parent
365637ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
...modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
+1
-1
core/modules/views/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.php
...iews/Plugin/views/relationship/RelationshipPluginBase.php
+1
-1
No files found.
core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
View file @
6d411619
...
...
@@ -1055,7 +1055,7 @@ function get_field_alias($table_alias, $field) {
*
* @see SelectQuery::addTag()
*/
function
add
_t
ag
(
$tag
)
{
public
function
add
T
ag
(
$tag
)
{
$this
->
tags
[]
=
$tag
;
}
...
...
core/modules/views/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.php
View file @
6d411619
...
...
@@ -140,7 +140,7 @@ public function query() {
// Add access tags if the base table provide it.
if
(
empty
(
$this
->
query
->
options
[
'disable_sql_rewrite'
])
&&
isset
(
$table_data
[
'table'
][
'base'
][
'access query tag'
]))
{
$access_tag
=
$table_data
[
'table'
][
'base'
][
'access query tag'
];
$this
->
query
->
add
_t
ag
(
$access_tag
);
$this
->
query
->
add
T
ag
(
$access_tag
);
}
}
...
...
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