Pman.Dialog.PersonEditor.js
authorAlan Knowles <alan@roojs.com>
Mon, 31 Oct 2016 06:41:51 +0000 (14:41 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 31 Oct 2016 06:41:51 +0000 (14:41 +0800)
Pman.Dialog.PersonEditor.js

index dc2bb32..b1448d4 100644 (file)
@@ -235,7 +235,7 @@ Pman.Dialog.PersonEditor.prototype = {
                       // load using HTTP
                     proxy:{
                         xtype:  'HttpProxy',
-                        url: baseURL + '/Roo/Companies.html',
+                        url: baseURL + '/Roo/core_company',
                         method: 'GET'
                     },
                     reader: Pman.Readers.Companies,
@@ -264,7 +264,7 @@ Pman.Dialog.PersonEditor.prototype = {
                         '<b>{name}</b> {address}',
                     '</div>'
                 ),
-                queryParam: 'query[name]',
+                queryParam: 'search[name_starts]',
                 loadingText: "Searching...",
                 listWidth: 400,