Mercurial > lada > lada-client
changeset 248:d40a552382a3
Changed proxy to load data from the server.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 24 Jul 2013 14:52:10 +0200 |
parents | fa108c53da5a |
children | 81aca4dd5f0c |
files | app/model/Query.js |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/app/model/Query.js Wed Jul 24 14:51:44 2013 +0200 +++ b/app/model/Query.js Wed Jul 24 14:52:10 2013 +0200 @@ -5,13 +5,15 @@ {name: "name"}, {name: "description"}, {name: "sql"}, - {name: "fields"}, + {name: "results"}, {name: "filters"}, ], proxy: { - type: 'memory', + type: 'rest', + url: 'server/rest/query', reader: { - type: 'json' + type: 'json', + root: 'data' } } });