diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2012-03-11 15:10:43 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2012-03-11 15:10:43 +0000 |
commit | 6740cd5eb795d11bb6128c1982fa67fd9211739d (patch) | |
tree | 39840c5588484c15bd11cedf7eb16112c80230bf /h-source/Application/Controllers | |
parent | 8371e1d9f8c1ea129019553bd6b9824eb1609cc6 (diff) |
improved the form to filter using the model name
Diffstat (limited to 'h-source/Application/Controllers')
-rw-r--r-- | h-source/Application/Controllers/GenericController.php | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |