mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Explicitly apply state filters to UI
This commit is contained in:
parent
5f3647b582
commit
0fbdc3e595
@ -64,6 +64,12 @@ class calendar_favorite_portlet extends home_favorite_portlet
|
||||
else
|
||||
{
|
||||
$ui = new calendar_uiviews();
|
||||
if($this->favorite['state']['start']) $ui->search_params['start'] = $this->favorite['state']['start'];
|
||||
if($this->favorite['state']['cat_id']) $ui->search_params['cat_id'] = $this->favorite['state']['cat_id'];
|
||||
if($this->favorite['state']['owner']) $ui->search_params['users'] = explode(',',$this->favorite['state']['owner']);
|
||||
if($this->favorite['state']['filter']) $ui->search_params['filter'] = $this->favorite['state']['filter'];
|
||||
if($this->favorite['state']['sortby']) $ui->search_params['sortby'] = $this->favorite['state']['sortby'];
|
||||
|
||||
$etemplate->read('home.legacy');
|
||||
|
||||
$etemplate->set_dom_id($id);
|
||||
|
Loading…
Reference in New Issue
Block a user