Skip to content

Commit

Permalink
rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Oct 6, 2017
1 parent fbb2e65 commit 72affc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/API/DataTableGenericFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private function getGenericFiltersHavingDefaultValues()
$filters[$index][1]['filter_sort_column'] = array('string', $this->report->getDefaultSortColumn());
$filters[$index][1]['filter_sort_order'] = array('string', $this->report->getDefaultSortOrder());

$callback = $this->report->getSecondSortColumnCallback();
$callback = $this->report->getSecondarySortColumnCallback();

if (is_callable($callback)) {
$filters[$index][1]['filter_sort_column_secondary'] = $callback;
Expand Down
4 changes: 2 additions & 2 deletions core/Plugin/Report.php
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ public function getDefaultSortOrder()
* Allows to define a callback that will be used to determine the secondary column to sort by
*
* ```
* public function getSecondSortColumnCallback()
* public function getSecondarySortColumnCallback()
* {
* return function ($primaryColumn) {
* switch ($primaryColumn) {
Expand All @@ -663,7 +663,7 @@ public function getDefaultSortOrder()
* ```
* @return null|callable
*/
public function getSecondSortColumnCallback()
public function getSecondarySortColumnCallback()
{
return null;
}
Expand Down

0 comments on commit 72affc7

Please sign in to comment.