parent
1c32d8ebe5
commit
0f0727491e
|
@ -14,7 +14,7 @@ class DowntimeQuery extends IdoQuery
|
||||||
protected $columnMap = array(
|
protected $columnMap = array(
|
||||||
'downtime' => array(
|
'downtime' => array(
|
||||||
'downtime_author_name' => 'sd.author_name',
|
'downtime_author_name' => 'sd.author_name',
|
||||||
'author' => 'sd.author_name',
|
'author' => 'sd.author_name COLLATE latin1_general_ci',
|
||||||
'downtime_comment' => 'sd.comment_data',
|
'downtime_comment' => 'sd.comment_data',
|
||||||
'downtime_entry_time' => 'UNIX_TIMESTAMP(sd.entry_time)',
|
'downtime_entry_time' => 'UNIX_TIMESTAMP(sd.entry_time)',
|
||||||
'downtime_is_fixed' => 'sd.is_fixed',
|
'downtime_is_fixed' => 'sd.is_fixed',
|
||||||
|
|
|
@ -15,7 +15,6 @@ class Downtime extends DataView
|
||||||
return array(
|
return array(
|
||||||
'downtime_objecttype',
|
'downtime_objecttype',
|
||||||
'downtime_author_name',
|
'downtime_author_name',
|
||||||
'author',
|
|
||||||
'downtime_comment',
|
'downtime_comment',
|
||||||
'downtime_entry_time',
|
'downtime_entry_time',
|
||||||
'downtime_is_fixed',
|
'downtime_is_fixed',
|
||||||
|
@ -69,4 +68,9 @@ class Downtime extends DataView
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getFilterColumns()
|
||||||
|
{
|
||||||
|
return array('author', 'host', 'service');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue