From eebd36ccc811e5bb08ad6409c34bbc921b6a8c4e Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 13 Aug 2025 20:02:28 +0200 Subject: [PATCH] Fix sorting by backup target --- dashboard/src/views/BackupListView.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dashboard/src/views/BackupListView.vue b/dashboard/src/views/BackupListView.vue index cd3ec14f1..6fdbe2c26 100644 --- a/dashboard/src/views/BackupListView.vue +++ b/dashboard/src/views/BackupListView.vue @@ -46,7 +46,9 @@ const columns = { }, target: { label: 'Storage', - sort: true + sort(a, b) { + return b.name <= a.name ? 1 : -1; + }, }, actions: {} };