mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:24 +01:00
* Calendar: use "default" filter for home screen, instead of "all" which shows canceled events too
This commit is contained in:
parent
b32e4241e4
commit
f16db5f793
@ -5,7 +5,7 @@
|
||||
* @link http://www.egroupware.org
|
||||
* @package calendar
|
||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @copyright (c) 2005-9 by RalfBecker-At-outdoor-training.de
|
||||
* @copyright (c) 2005-13 by RalfBecker-At-outdoor-training.de
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
@ -75,10 +75,10 @@ class calendar_uilist extends calendar_ui
|
||||
{
|
||||
// set the defaults for the home-page
|
||||
$this->__construct(array(
|
||||
'date' => $this->bo->date2string($this->bo->now_su),
|
||||
'cat_id' => 0,
|
||||
'filter' => 'all',
|
||||
'owner' => $this->user,
|
||||
'date' => $this->bo->date2string($this->bo->now_su),
|
||||
'cat_id' => 0,
|
||||
'filter' => 'default',
|
||||
'owner' => $this->user,
|
||||
'multiple' => 0,
|
||||
'view' => $this->bo->cal_prefs['defaultcalendar'],
|
||||
));
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @link http://www.egroupware.org
|
||||
* @package calendar
|
||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @copyright (c) 2004-12 by RalfBecker-At-outdoor-training.de
|
||||
* @copyright (c) 2004-13 by RalfBecker-At-outdoor-training.de
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
@ -222,7 +222,7 @@ class calendar_uiviews extends calendar_ui
|
||||
$this->__construct(array(
|
||||
'date' => $this->bo->date2string($this->bo->now_su),
|
||||
'cat_id' => 0,
|
||||
'filter' => 'all',
|
||||
'filter' => 'default',
|
||||
'owner' => substr($this->cal_prefs['defaultcalendar'],0,7) == 'planner' && $this->cal_prefs['planner_start_with_group'] ?
|
||||
$this->cal_prefs['planner_start_with_group'] : $this->user,
|
||||
'multiple' => 0,
|
||||
|
Loading…
Reference in New Issue
Block a user