mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Implement new link hook view_list, to be able to be taken to a list of entries
This commit is contained in:
parent
30be48f6e6
commit
7217a92079
@ -45,6 +45,7 @@ class timesheet_hooks
|
||||
),
|
||||
'view_id' => 'ts_id',
|
||||
'view_popup' => '600x400',
|
||||
'view_list' => 'timesheet.timesheet_ui.index',
|
||||
'add' => array(
|
||||
'menuaction' => TIMESHEET_APP.'.timesheet_ui.edit',
|
||||
),
|
||||
@ -163,4 +164,4 @@ class timesheet_hooks
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -793,6 +793,9 @@ class timesheet_ui extends timesheet_bo
|
||||
'filter2' => (int)$GLOBALS['egw_info']['user']['preferences'][TIMESHEET_APP]['show_details'],
|
||||
);
|
||||
}
|
||||
if($_GET['search']) {
|
||||
$content['nm']['search'] = $_GET['search'];
|
||||
}
|
||||
$read_grants = $this->grant_list(EGW_ACL_READ);
|
||||
$content['nm']['no_owner_col'] = count($read_grants) == 1;
|
||||
if ($GLOBALS['egw_info']['user']['preferences']['timesheet']['nextmatch-timesheet.index.rows']) $content['nm']['selectcols'] = $GLOBALS['egw_info']['user']['preferences']['timesheet']['nextmatch-timesheet.index.rows'];
|
||||
|
Loading…
Reference in New Issue
Block a user