From 6740cd5eb795d11bb6128c1982fa67fd9211739d Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 11 Mar 2012 15:10:43 +0000 Subject: improved the form to filter using the model name --- h-source/Application/Controllers/GenericController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'h-source/Application/Controllers') diff --git a/h-source/Application/Controllers/GenericController.php b/h-source/Application/Controllers/GenericController.php index b5bbb4c..3a9721a 100644 --- a/h-source/Application/Controllers/GenericController.php +++ b/h-source/Application/Controllers/GenericController.php @@ -502,7 +502,7 @@ class GenericController extends BaseController $data['popupLabel'] = $this->mod->getPopupLabel($this->viewArgs); - $data["search_string_form_value"] = strcmp($this->viewArgs['search_string'],Params::$nullQueryValue) === 0 ? gtext("model name") : $this->viewArgs['search_string']; + $data["search_string_form_value"] = strcmp($this->viewArgs['search_string'],Params::$nullQueryValue) === 0 ? "" : $this->viewArgs['search_string']; //set search_string to undef to clean the model name filter $this->viewArgs['search_string'] = "undef"; -- cgit v1.2.3