CommentQuery: Add `comment_author_name' as additional query column
refs #8613
This commit is contained in:
parent
8ed1c8eeb6
commit
21c76010d4
|
@ -13,6 +13,7 @@ class CommentQuery extends IdoQuery
|
|||
'comment_internal_id' => 'cm.internal_comment_id',
|
||||
'comment_data' => 'cm.comment_data',
|
||||
'comment_author' => 'cm.author_name COLLATE latin1_general_ci',
|
||||
'comment_author_name' => 'cm.author_name',
|
||||
'comment_timestamp' => 'UNIX_TIMESTAMP(cm.comment_time)',
|
||||
'comment_type' => "CASE cm.entry_type WHEN 1 THEN 'comment' WHEN 2 THEN 'downtime' WHEN 3 THEN 'flapping' WHEN 4 THEN 'ack' END",
|
||||
'comment_is_persistent' => 'cm.is_persistent',
|
||||
|
|
|
@ -18,6 +18,7 @@ class Comment extends DataView
|
|||
'comment_internal_id',
|
||||
'comment_data',
|
||||
'comment_author',
|
||||
'comment_author_name',
|
||||
'comment_timestamp',
|
||||
'comment_type',
|
||||
'comment_is_persistent',
|
||||
|
|
Loading…
Reference in New Issue