mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +02:00
monitoring: Support sorting by host and service display name in the Comment data view
refs #7843
This commit is contained in:
parent
cf391b056c
commit
3055531e2d
@ -45,13 +45,20 @@ class Comment extends DataView
|
|||||||
'comment_timestamp' => array(
|
'comment_timestamp' => array(
|
||||||
'order' => self::SORT_DESC
|
'order' => self::SORT_DESC
|
||||||
),
|
),
|
||||||
'comment_host' => array(
|
'host_display_name' => array(
|
||||||
'columns' => array(
|
'columns' => array(
|
||||||
'comment_host',
|
'host_display_name',
|
||||||
'comment_service'
|
'service_display_name'
|
||||||
),
|
),
|
||||||
'order' => self::SORT_ASC
|
'order' => self::SORT_ASC
|
||||||
),
|
),
|
||||||
|
'service_display_name' => array(
|
||||||
|
'columns' => array(
|
||||||
|
'service_display_name',
|
||||||
|
'host_display_name'
|
||||||
|
),
|
||||||
|
'order' => self::SORT_ASC
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user