ui: dashboard: remove 'wobbling' of tasks that have the same duration
by sorting them by upid after sorting by duration Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
2b66abbfab
commit
3f0b9c10ec
|
@ -56,10 +56,16 @@ Ext.define('PBS.LongestTasks', {
|
||||||
type: 'diff',
|
type: 'diff',
|
||||||
autoDestroy: true,
|
autoDestroy: true,
|
||||||
autoDestroyRstore: true,
|
autoDestroyRstore: true,
|
||||||
sorters: {
|
sorters: [
|
||||||
property: 'duration',
|
{
|
||||||
direction: 'DESC',
|
property: 'duration',
|
||||||
},
|
direction: 'DESC',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
property: 'upid',
|
||||||
|
direction: 'ASC',
|
||||||
|
},
|
||||||
|
],
|
||||||
rstore: {
|
rstore: {
|
||||||
storeid: 'proxmox-tasks-dash',
|
storeid: 'proxmox-tasks-dash',
|
||||||
type: 'store',
|
type: 'store',
|
||||||
|
|
Loading…
Reference in New Issue