Add categories to fulltext index; use unique tags for task properties
This commit is contained in:
parent
ad7b5a1f01
commit
0790b36a49
2 changed files with 3 additions and 3 deletions
|
@ -129,10 +129,10 @@ class kolab_format_task extends kolab_format_xcal
|
|||
$tags = array();
|
||||
|
||||
if ($this->data['status'] == 'COMPLETED' || $this->data['complete'] == 100)
|
||||
$tags[] = 'complete';
|
||||
$tags[] = 'x-complete';
|
||||
|
||||
if ($this->data['priority'] == 1)
|
||||
$tags[] = 'flagged';
|
||||
$tags[] = 'x-flagged';
|
||||
|
||||
if (!empty($this->data['alarms']))
|
||||
$tags[] = 'x-has-alarms';
|
||||
|
|
|
@ -28,7 +28,7 @@ abstract class kolab_format_xcal extends kolab_format
|
|||
{
|
||||
public $CTYPE = 'application/calendar+xml';
|
||||
|
||||
public static $fulltext_cols = array('title', 'description', 'location', 'attendees:name', 'attendees:email');
|
||||
public static $fulltext_cols = array('title', 'description', 'location', 'attendees:name', 'attendees:email', 'categories');
|
||||
|
||||
protected $sensitivity_map = array(
|
||||
'public' => kolabformat::ClassPublic,
|
||||
|
|
Loading…
Add table
Reference in a new issue