From: Dominik Csapak Date: Thu, 25 Jun 2020 08:45:52 +0000 (+0200) Subject: ui: dashboard: remove 'wobbling' of tasks that have the same duration X-Git-Tag: v0.4.0~6 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=3f0b9c10ec2177b4dc790a141ce24f235983fe61;p=proxmox-backup.git 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 --- diff --git a/www/dashboard/LongestTasks.js b/www/dashboard/LongestTasks.js index 76238e5b..d076d5fa 100644 --- a/www/dashboard/LongestTasks.js +++ b/www/dashboard/LongestTasks.js @@ -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',