[pmg-devel] [PATCH pmg-gui 3/3] MailTracker: sort by time by default

Dominik Csapak d.csapak at proxmox.com
Fri Apr 24 15:14:49 CEST 2020


so that the mails get shown in correct order

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 js/MailTracker.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/js/MailTracker.js b/js/MailTracker.js
index 1f9ac5e..105ba4f 100644
--- a/js/MailTracker.js
+++ b/js/MailTracker.js
@@ -237,7 +237,8 @@ Ext.define('PMG.MailTracker', {
 
     store: {
 	autoDestroy: true,
-	model: 'pmg-mail-tracker'
+	model: 'pmg-mail-tracker',
+	sorters: 'time',
     },
 
     controller: {
-- 
2.20.1




More information about the pmg-devel mailing list