mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Improved subsite-admin search to support unit testing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40425 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
75804f6fc8
commit
63cbd15456
@ -248,12 +248,8 @@ abstract class GenericDataAdmin extends LeftAndMain {
|
||||
return $ret;
|
||||
}
|
||||
|
||||
function getResults() {
|
||||
if(Director::is_ajax()) {
|
||||
return $this->Results();
|
||||
} else {
|
||||
return $this->Results();
|
||||
}
|
||||
function getResults($data, $form) {
|
||||
return $this->Results($data, $form);
|
||||
}
|
||||
|
||||
function getResultList($results, $link = true) {
|
||||
|
Loading…
Reference in New Issue
Block a user