Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
315
Merge Requests
315
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
b880d8f4
Commit
b880d8f4
authored
May 28, 2013
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2002280
by elvis2, connork: Rename Views method add_signature() to addSignature().
parent
20d028f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php
...s/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php
+1
-1
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/ViewExecutable.php
core/modules/views/lib/Drupal/views/ViewExecutable.php
+1
-1
No files found.
core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php
View file @
b880d8f4
...
...
@@ -79,7 +79,7 @@ function execute(ViewExecutable $view) { }
* @param view $view
* The view which is executed.
*/
function
add_s
ignature
(
ViewExecutable
$view
)
{
}
public
function
addS
ignature
(
ViewExecutable
$view
)
{
}
/**
* Get aggregation info for group by queries.
...
...
core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
View file @
b880d8f4
...
...
@@ -1643,7 +1643,7 @@ function loadEntities(&$results) {
}
}
function
add_s
ignature
(
ViewExecutable
$view
)
{
public
function
addS
ignature
(
ViewExecutable
$view
)
{
$view
->
query
->
add_field
(
NULL
,
"'"
.
$view
->
storage
->
id
()
.
':'
.
$view
->
current_display
.
"'"
,
'view_name'
);
}
...
...
core/modules/views/lib/Drupal/views/ViewExecutable.php
View file @
b880d8f4
...
...
@@ -1071,7 +1071,7 @@ public function build($display_id = NULL) {
}
if
(
config
(
'views.settings'
)
->
get
(
'sql_signature'
))
{
$this
->
query
->
add
_s
ignature
(
$this
);
$this
->
query
->
add
S
ignature
(
$this
);
}
// Let modules modify the query just prior to finalizing it.
...
...
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