Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 63cbd15456518a16afc084d47450df87ff5bb406 1 parent 75804f6
@sminnee sminnee authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 code/GenericDataAdmin.php
View
8 code/GenericDataAdmin.php
@@ -248,12 +248,8 @@ function Results() {
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) {
Please sign in to comment.
Something went wrong with that request. Please try again.