]> git.proxmox.com Git - pmg-gui.git/commitdiff
SpamInfoGrid.js - score need to be a numeric field
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 29 Sep 2017 05:24:34 +0000 (07:24 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 29 Sep 2017 05:24:34 +0000 (07:24 +0200)
To make grid summary working.

js/SpamInfoGrid.js

index a3c5973890ba0b2b8e9bca919718b8fdd44a6b5d..5939804a874422b24116af561fe5d46cbdeca4f7 100644 (file)
@@ -12,6 +12,7 @@ Ext.define('PMG.grid.SpamInfoGrid',{
        me.setStore({
            autoLoad: true,
            autoDestroy: true,
+           fields: [ 'desc', 'name', { type: 'number', name: 'score' } ],
            proxy: {
                type: 'proxmox',
                url: '/api2/json/quarantine/content?id='+rec.data.id,