We want to sort by raw timestamps, we don't want to fetch them
This commit is contained in:
parent
dfb261a5ca
commit
3fa5ef0ea2
|
@ -151,14 +151,14 @@ abstract class AbstractObject
|
||||||
'host_name',
|
'host_name',
|
||||||
'service_description',
|
'service_description',
|
||||||
'timestamp',
|
'timestamp',
|
||||||
'raw_timestamp',
|
// 'raw_timestamp',
|
||||||
'state',
|
'state',
|
||||||
'attempt',
|
'attempt',
|
||||||
'max_attempts',
|
'max_attempts',
|
||||||
'output',
|
'output',
|
||||||
'type'
|
'type'
|
||||||
)
|
)
|
||||||
)->sort('timestamp', 'DESC')->getQuery();
|
)->sort('raw_timestamp', 'DESC')->getQuery();
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue