forked from extern/egroupware
if filter showonlypublic is set, set status filter to hide rejected too
This commit is contained in:
parent
0d13079a46
commit
5e8b903207
@ -405,7 +405,8 @@ class calendar_so
|
|||||||
switch($filter)
|
switch($filter)
|
||||||
{
|
{
|
||||||
case 'showonlypublic':
|
case 'showonlypublic':
|
||||||
$where[] = "cal_public=1"; break;
|
$where[] = "cal_public=1";
|
||||||
|
$where[] = "cal_status != 'R'"; break;
|
||||||
case 'deleted':
|
case 'deleted':
|
||||||
$where[] = 'cal_deleted='.$this->db->quote(true,'bool');
|
$where[] = 'cal_deleted='.$this->db->quote(true,'bool');
|
||||||
case 'unknown':
|
case 'unknown':
|
||||||
|
Loading…
Reference in New Issue
Block a user