diff --git a/admin/code/ModelAdmin.php b/admin/code/ModelAdmin.php index 9bf9f9773..c2f833e12 100644 --- a/admin/code/ModelAdmin.php +++ b/admin/code/ModelAdmin.php @@ -651,11 +651,7 @@ class ModelAdmin_CollectionController extends Controller { function search($request, $form) { // Get the results form to be rendered $resultsForm = $this->ResultsForm(array_merge($form->getData(), $request)); - return new SS_HTTPResponse( - $resultsForm->forTemplate(), - 200, - $msg - ); + return $resultsForm->forTemplate(); } /**