Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
4df1036a
Commit
4df1036a
authored
May 29, 2013
by
Alex Pott
Browse files
Issue
#2002978
by tvlooy, crowdcg: Rename Views method summary_sort() to summarySort().
parent
9b64d30a
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
View file @
4df1036a
...
...
@@ -783,7 +783,7 @@ function default_summary() {
$this
->
summary_query
();
$by
=
$this
->
options
[
'summary'
][
'number_of_records'
]
?
'num_records'
:
NULL
;
$this
->
summary
_s
ort
(
$this
->
options
[
'summary'
][
'sort_order'
],
$by
);
$this
->
summary
S
ort
(
$this
->
options
[
'summary'
][
'sort_order'
],
$by
);
// Summaries have their own sorting and fields, so tell the View not
// to build these.
...
...
@@ -872,7 +872,7 @@ function summary_basics($count_field = TRUE) {
* @param $order
* The order selected in the UI.
*/
function
summary
_s
ort
(
$order
,
$by
=
NULL
)
{
public
function
summary
S
ort
(
$order
,
$by
=
NULL
)
{
$this
->
query
->
add_orderby
(
NULL
,
NULL
,
$order
,
(
!
empty
(
$by
)
?
$by
:
$this
->
name_alias
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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