Do not group users and resources. Fixes restrictions on sorting calendars

This commit is contained in:
Nathan Gray 2015-08-24 23:48:20 +00:00
parent cf87169a3d
commit 7ece59dd28

View File

@ -880,8 +880,9 @@ class calendar_uiviews extends calendar_ui
{ {
$content = ''; $content = '';
$headerCounter = 0; $headerCounter = 0;
foreach($this->_get_planner_users(false) as $uid => $label) foreach(explode(',',$this->owner) as $uid)
{ {
$label = $this->bo->participant_name($uid);
$content .= '<div data-sortable-id="'.$uid.'">'; $content .= '<div data-sortable-id="'.$uid.'">';
$search_params['users'] = $uid; $search_params['users'] = $uid;
$content .= '<b>'.$label."</b>\n"; $content .= '<b>'.$label."</b>\n";