[Lada-commits] [PATCH] Alway send filter parameters to proben service
Wald Commits
scm-commit at wald.intevation.org
Fri Aug 16 15:17:02 CEST 2013
# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1376659149 -7200
# Node ID 1179b3a1251bc5b9b4a48d00fca44a0e5d82635c
# Parent cebed9ef8293e684014c4f06061beaf2f4e4daca
Alway send filter parameters to proben service.
diff -r cebed9ef8293 -r 1179b3a1251b app/controller/Sql.js
--- a/app/controller/Sql.js Fri Aug 16 12:20:51 2013 +0200
+++ b/app/controller/Sql.js Fri Aug 16 15:19:09 2013 +0200
@@ -124,9 +124,7 @@
for (var i = filters.items.length - 1; i >= 0; i--){
var filter = filters.items.items[i];
var value = filter.getValue();
- if (value) {
- searchParams[filter.getName()] = filter.getValue();
- }
+ searchParams[filter.getName()] = filter.getValue();
}
console.log('Loading store with the following search params: ' + searchParams);
result.getStore().load({
More information about the Lada-commits
mailing list