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 +- h-source/Application/Views/Desktop/catalogue.php | 2 +- h-source/Public/Css/main.css | 2 +- 3 files changed, 3 insertions(+), 3 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"; diff --git a/h-source/Application/Views/Desktop/catalogue.php b/h-source/Application/Views/Desktop/catalogue.php index 25a79ef..ad00222 100644 --- a/h-source/Application/Views/Desktop/catalogue.php +++ b/h-source/Application/Views/Desktop/catalogue.php @@ -43,7 +43,7 @@
" method="GET"> - + ">" />
diff --git a/h-source/Public/Css/main.css b/h-source/Public/Css/main.css index 3b4612c..ae313a8 100644 --- a/h-source/Public/Css/main.css +++ b/h-source/Public/Css/main.css @@ -2092,7 +2092,7 @@ div#description_tabs_content padding:8px; background-color:#C7DAEF; border: 1px solid #6495ED; - width:280px; + width:685px; } .model_string_search_form img -- cgit v1.2.3