From: Edward Date: Thu, 8 May 2014 09:35:00 +0000 (+0800) Subject: Pman.Dialog.CoreAutoSavePreview.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=1faa85a7f9f7e81bb789fa7ecafc77e0406be84c Pman.Dialog.CoreAutoSavePreview.bjs Pman.Dialog.CoreAutoSavePreview.js --- diff --git a/Pman.Dialog.CoreAutoSavePreview.bjs b/Pman.Dialog.CoreAutoSavePreview.bjs index 614ce6cf..891a5a56 100644 --- a/Pman.Dialog.CoreAutoSavePreview.bjs +++ b/Pman.Dialog.CoreAutoSavePreview.bjs @@ -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": [ { diff --git a/Pman.Dialog.CoreAutoSavePreview.js b/Pman.Dialog.CoreAutoSavePreview.js index 51dcd6a7..c58e53fb 100644 --- a/Pman.Dialog.CoreAutoSavePreview.js +++ b/Pman.Dialog.CoreAutoSavePreview.js @@ -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,