typo in SQL
[Pman.MTrack] / Pman.Dialog.MTrackMilestoneMerge.js
index fd190b2..a159818 100644 (file)
@@ -119,7 +119,7 @@ Roo.namespace(' Pman.Dialog');
         xtype : 'Form',
         method : 'POST',
         style : 'margin: 5px',
-        url : baseURL + '/Roo/core_enum.php',
+        url : baseURL + '/Roo/mtrack_milestone',
         listeners : {
          actioncomplete : function (_self, action)
           {
@@ -179,7 +179,7 @@ Roo.namespace(' Pman.Dialog');
           store : {
            xtype : 'Store',
            remoteSort : true,
-           sortInfo : { direction : 'ASC', field: 'display_name' },
+           sortInfo : { direction : 'ASC', field: 'id' },
            listeners : {
             beforeload : function (_self, o){
                  o.params = o.params || {};
@@ -199,16 +199,6 @@ Roo.namespace(' Pman.Dialog');
            },
            reader : {
             xtype : 'JsonReader',
-            fields : [
-                {
-                    "name":"id",
-                    "type":"int"
-                },
-                {
-                    "name":"display_name",
-                    "type":"string"
-                }
-            ],
             id : 'id',
             root : 'data',
             totalProperty : 'total',