]> git.proxmox.com Git - pmg-gui.git/commitdiff
spam info grid: sort by score by default
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Nov 2022 07:12:13 +0000 (08:12 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Nov 2022 08:46:31 +0000 (09:46 +0100)
useful to have the levels sorted by their impact

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/SpamInfoGrid.js

index c9777d746ceabc0aa37a0ba0ef9f77faf843f55d..dee33cbcb2335cc3f1cb5843d40d9eccdf533526 100644 (file)
@@ -9,6 +9,7 @@ Ext.define('PMG.grid.SpamInfoGrid', {
            type: 'proxmox',
            root: 'data.spaminfo',
        },
+       sorters: 'score',
     },
 
     setID: function(rec) {