mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX SSF-124 the $filterOn pass-as-reference variable name should be consist with where its value is altered so as the variable is correctly assigned
MINOR SSF-124 correct inline document
This commit is contained in:
parent
3d0566638a
commit
7c44e95287
@ -539,13 +539,13 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the files and subfolders contained in the currently selected folder,
|
* Returns the pages meet a certain criteria as {@see CMSSiteTreeFilter} or the subpages of a parent page
|
||||||
* defaulting to the root node. Doubles as search results, if any search parameters
|
* defaulting to no filter and show all pages in first level.
|
||||||
* are set through {@link SearchForm()}.
|
* Doubles as search results, if any search parameters are set through {@link SearchForm()}.
|
||||||
*
|
*
|
||||||
* @return SS_List
|
* @return SS_List
|
||||||
*/
|
*/
|
||||||
public function getList(&$filterOnOff) {
|
public function getList(&$filterOn) {
|
||||||
$list = new DataList($this->stat('tree_class'));
|
$list = new DataList($this->stat('tree_class'));
|
||||||
|
|
||||||
$request = $this->request;
|
$request = $this->request;
|
||||||
|
Loading…
Reference in New Issue
Block a user