mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00: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;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getResults() {
|
function getResults($data, $form) {
|
||||||
if(Director::is_ajax()) {
|
return $this->Results($data, $form);
|
||||||
return $this->Results();
|
|
||||||
} else {
|
|
||||||
return $this->Results();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function getResultList($results, $link = true) {
|
function getResultList($results, $link = true) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user