Pman.Dialog.CoreAutoSavePreview.bjs
authorEdward <edward@roojs.com>
Thu, 8 May 2014 09:35:00 +0000 (17:35 +0800)
committerEdward <edward@roojs.com>
Thu, 8 May 2014 09:35:00 +0000 (17:35 +0800)
Pman.Dialog.CoreAutoSavePreview.js

Pman.Dialog.CoreAutoSavePreview.bjs
Pman.Dialog.CoreAutoSavePreview.js

index 614ce6c..891a5a5 100644 (file)
@@ -72,7 +72,7 @@
                                     "*prop": "dataSource",
                                     "remoteSort": true,
                                     "xtype": "Store",
-                                    "|sortInfo": "{ field : 'filename', direction: 'ASC' }",
+                                    "|sortInfo": "{ field : 'event_when', direction: 'DESC' }",
                                     "|xns": "Roo.data",
                                     "items": [
                                         {
index 51dcd6a..c58e53f 100644 (file)
@@ -118,7 +118,7 @@ Pman.Dialog.CoreAutoSavePreview = {
                                 }
                             },
                             remoteSort : true,
-                            sortInfo : { field : 'filename', direction: 'ASC' },
+                            sortInfo : { field : 'event_when', direction: 'DESC' },
                             proxy : {
                                 xtype: 'HttpProxy',
                                 xns: Roo.data,