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

View File

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