public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] storage GUI: fix unintuitive sorting order
@ 2022-02-18 10:42 Matthias Heiserer
  2022-02-21  8:32 ` Fabian Ebner
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Heiserer @ 2022-02-18 10:42 UTC (permalink / raw)
  To: pve-devel

The backups in the 'Backups' table in Storages are now initially
sorted by column 'Name' ascending.

Previously, they were first sorted by 'vmid' descending, then by date
descending. This was unintuitive as 'vmid' doesn't exist as column
in the GUI, and only 'Date' displayed a sorting arrow.

Signed-off-by: Matthias Heiserer <m.heiserer@proxmox.com>
---
 www/manager6/storage/BackupView.js | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/www/manager6/storage/BackupView.js b/www/manager6/storage/BackupView.js
index 2328c0fc..f02944c9 100644
--- a/www/manager6/storage/BackupView.js
+++ b/www/manager6/storage/BackupView.js
@@ -211,13 +211,9 @@ Ext.define('PVE.storage.BackupView', {
 	me.store.getSorters().clear();
 	me.store.setSorters([
 	    {
-		property: 'vmid',
+		property: 'text',
 		direction: 'ASC',
 	    },
-	    {
-		property: 'vdate',
-		direction: 'DESC',
-	    },
 	]);
     },
 });
-- 
2.30.2





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-21  8:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18 10:42 [pve-devel] [PATCH manager] storage GUI: fix unintuitive sorting order Matthias Heiserer
2022-02-21  8:32 ` Fabian Ebner
2022-02-21  8:39   ` Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal