mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
Great, sortControl is not alias-aware. Fix comment sort options
This commit is contained in:
parent
a270eb2270
commit
2c3da5969a
@ -337,10 +337,10 @@ class Monitoring_ListController extends Controller
|
|||||||
|
|
||||||
$this->setupSortControl(
|
$this->setupSortControl(
|
||||||
array(
|
array(
|
||||||
'timestamp' => 'Comment Timestamp',
|
'comment_timestamp' => 'Comment Timestamp',
|
||||||
'host' => 'Host / Service',
|
'host_name' => 'Host / Service',
|
||||||
'type' => 'Comment Type',
|
'comment_type' => 'Comment Type',
|
||||||
'expiration' => 'Expiration',
|
'comment_expiration_timestamp' => 'Expiration',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->handleFormatRequest($query);
|
$this->handleFormatRequest($query);
|
||||||
|
@ -69,7 +69,7 @@ class Comment extends DataView
|
|||||||
'host_name' => array(
|
'host_name' => array(
|
||||||
'columns' => array(
|
'columns' => array(
|
||||||
'host_name',
|
'host_name',
|
||||||
'service_name'
|
'service_description'
|
||||||
),
|
),
|
||||||
'order' => self::SORT_ASC
|
'order' => self::SORT_ASC
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user