]> git.proxmox.com Git - pmg-gui.git/commitdiff
MailTracker.js - display all receivers
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 6 Dec 2017 07:09:48 +0000 (08:09 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 6 Dec 2017 07:09:48 +0000 (08:09 +0100)
js/MailTracker.js

index 45695d58922453cdeb60dc7d7ac196cff08adc67..d1426cb2b9dbd5eedf4e3d53e12e4404ce9dafa7 100644 (file)
@@ -4,12 +4,14 @@ Ext.define('pmg-mail-tracker', {
     fields: [
        'id' , 'from', 'to', 'dstatus', 'rstatus', 'qid', 'msgid', 'client',
        { type: 'number', name: 'size' },
-       { type: 'date', dateFormat: 'timestamp', name: 'time' }
+       { type: 'date', dateFormat: 'timestamp', name: 'time' },
     ],
     proxy: {
        type: 'proxmox'
     },
-    idProperty: 'id'
+    // do not use field 'id', because "id/to" is the unique Id
+    // this way we display an entry for each receiver
+    idProperty: 'none'
 });