[pbs-devel] [PATCH proxmox-backup 5/6] ui: sync jobs: change default sorting to 'store' -> 'direction' -> 'id'

Dominik Csapak d.csapak at proxmox.com
Mon Nov 25 12:15:36 CET 2024


instead of just the id, which makes the list in the global datastore
view a bit more easier to digest (since it's now sorted by store first)

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/config/SyncView.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/config/SyncView.js b/www/config/SyncView.js
index 7f68bf7cc..3471100b6 100644
--- a/www/config/SyncView.js
+++ b/www/config/SyncView.js
@@ -140,7 +140,7 @@ Ext.define('PBS.config.SyncJobView', {
 	type: 'diff',
 	autoDestroy: true,
 	autoDestroyRstore: true,
-	sorters: 'id',
+	sorters: ['store', 'direction', 'id'],
 	rstore: {
 	    type: 'update',
 	    storeid: 'pbs-sync-jobs-status',
-- 
2.39.5





More information about the pbs-devel mailing list