[Lada-commits] [PATCH] Set search parameters as extra parameters to result grid store to send them on
Wald Commits
scm-commit at wald.intevation.org
Thu Mar 19 10:06:52 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1426756059 -3600
# Node ID 74cc7f086d8364d34852514a350bb1d220448568
# Parent 0c1a9d7dd1e99c295b1879ef1d9953f9276be6a3
Set search parameters as extra parameters to result grid store to send them on
every request.
diff -r 0c1a9d7dd1e9 -r 74cc7f086d83 app/controller/Filter.js
--- 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();
},
More information about the Lada-commits
mailing list