diff --git a/resources/inc/class.resources_hooks.inc.php b/resources/inc/class.resources_hooks.inc.php index cab20891f3..3ea95eb4a2 100644 --- a/resources/inc/class.resources_hooks.inc.php +++ b/resources/inc/class.resources_hooks.inc.php @@ -104,6 +104,7 @@ class resources_hooks ), 'view_id' => 'res_id', 'view_popup' => '850x600', + 'view_list' => 'resources.ui_resources.index', 'add' => array( 'menuaction' => 'resources.ui_resources.edit', ), diff --git a/resources/inc/class.ui_resources.inc.php b/resources/inc/class.ui_resources.inc.php index e6f129fdbd..fee27e74ac 100755 --- a/resources/inc/class.ui_resources.inc.php +++ b/resources/inc/class.ui_resources.inc.php @@ -118,6 +118,9 @@ class ui_resources $content['nm'] = $nm_session_data; } $content['nm']['options-filter']= array(''=>lang('all categories'))+(array)$this->bo->acl->get_cats(EGW_ACL_READ); + if($_GET['search']) { + $content['nm']['search'] = $_GET['search']; + } // check if user is permitted to add resources if(!$this->bo->acl->get_cats(EGW_ACL_ADD))