Permalink
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...
1 parent 75804f6 commit 63cbd15456518a16afc084d47450df87ff5bb406 @sminnee sminnee committed Aug 17, 2007
Showing with 2 additions and 6 deletions.
  1. +2 −6 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) {

0 comments on commit 63cbd15

Please sign in to comment.