mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Change key of no filter from 'none' to '' so No filters favorite works
This commit is contained in:
parent
eaa100921c
commit
867873824e
@ -134,7 +134,7 @@ class infolog_bo
|
|||||||
* @var array filter => label pairs
|
* @var array filter => label pairs
|
||||||
*/
|
*/
|
||||||
var $filters = array(
|
var $filters = array(
|
||||||
'none' => 'no Filter',
|
'' => 'no Filter',
|
||||||
'done' => 'done',
|
'done' => 'done',
|
||||||
'responsible' => 'responsible',
|
'responsible' => 'responsible',
|
||||||
'responsible-open-today' => 'responsible open',
|
'responsible-open-today' => 'responsible open',
|
||||||
|
@ -181,7 +181,7 @@ class infolog_so
|
|||||||
/**
|
/**
|
||||||
* generate sql to be AND'ed into a query to ensure ACL is respected (incl. _PRIVATE)
|
* generate sql to be AND'ed into a query to ensure ACL is respected (incl. _PRIVATE)
|
||||||
*
|
*
|
||||||
* @param string $filter: none|all - list all entrys user have rights to see<br>
|
* @param string $filter: ''|all - list all entrys user have rights to see<br>
|
||||||
* private|own - list only his personal entrys (incl. those he is responsible for !!!),
|
* private|own - list only his personal entrys (incl. those he is responsible for !!!),
|
||||||
* responsible|my = entries the user is responsible for
|
* responsible|my = entries the user is responsible for
|
||||||
* delegated = entries the user delegated to someone else
|
* delegated = entries the user delegated to someone else
|
||||||
@ -189,7 +189,7 @@ class infolog_so
|
|||||||
*/
|
*/
|
||||||
function aclFilter($filter = False)
|
function aclFilter($filter = False)
|
||||||
{
|
{
|
||||||
preg_match('/(my|responsible|delegated|own|privat|private|all|none|user)([0-9,-]*)/',$filter_was=$filter,$vars);
|
preg_match('/(my|responsible|delegated|own|privat|private|all|user)([0-9,-]*)/',$filter_was=$filter,$vars);
|
||||||
$filter = $vars[1];
|
$filter = $vars[1];
|
||||||
$f_user = $vars[2];
|
$f_user = $vars[2];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user