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:
Dominik Csapak 2020-06-25 10:45:52 +02:00 committed by Dietmar Maurer
parent 2b66abbfab
commit 3f0b9c10ec
1 changed files with 10 additions and 4 deletions

View File

@ -56,10 +56,16 @@ Ext.define('PBS.LongestTasks', {
type: 'diff', type: 'diff',
autoDestroy: true, autoDestroy: true,
autoDestroyRstore: true, autoDestroyRstore: true,
sorters: { sorters: [
{
property: 'duration', property: 'duration',
direction: 'DESC', direction: 'DESC',
}, },
{
property: 'upid',
direction: 'ASC',
},
],
rstore: { rstore: {
storeid: 'proxmox-tasks-dash', storeid: 'proxmox-tasks-dash',
type: 'store', type: 'store',