forked from extern/egroupware
Implement new link hook view_list, to be able to be taken to a list of entries
This commit is contained in:
parent
ac14a5a1fd
commit
e532ee0944
@ -31,6 +31,7 @@ class calendar_hooks
|
||||
),
|
||||
'view_id' => 'cal_id',
|
||||
'view_popup' => '750x400',
|
||||
'view_list' => 'calendar.calendar_uilist.listview',
|
||||
'add' => array(
|
||||
'menuaction' => 'calendar.calendar_uiforms.edit',
|
||||
),
|
||||
|
@ -139,6 +139,9 @@ class calendar_uilist extends calendar_ui
|
||||
'header_left' => 'calendar.list.dates',
|
||||
);
|
||||
}
|
||||
if ($_GET['search']) {
|
||||
$content['nm']['search'] = $_GET['search'];
|
||||
}
|
||||
if (isset($_REQUEST['keywords'])) // new search => set filters so every match is shown
|
||||
{
|
||||
$this->adjust_for_search($_REQUEST['keywords'],$content['nm']);
|
||||
|
Loading…
Reference in New Issue
Block a user