Mercurial > lada > lada-client
changeset 657:74cc7f086d83
Set search parameters as extra parameters to result grid store to send them on
every request.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 19 Mar 2015 10:07:39 +0100 |
parents | 0c1a9d7dd1e9 |
children | 060a4f66de08 39dd18124ebd |
files | app/controller/Filter.js |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/app/controller/Filter.js Thu Mar 19 10:09:04 2015 +0100 +++ b/app/controller/Filter.js Thu Mar 19 10:07:39 2015 +0100 @@ -197,9 +197,8 @@ } searchParams[filter.getName()] = value; } - resultGrid.getStore().load({ - params: searchParams - }); + resultGrid.getStore().proxy.extraParams = searchParams; + resultGrid.getStore().load(); resultGrid.show(); },