diff app/controller/Sql.js @ 370:1179b3a1251b

Alway send filter parameters to proben service.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 16 Aug 2013 15:19:09 +0200
parents cebed9ef8293
children 832e3c8f9191
line wrap: on
line diff
--- 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({

http://lada.wald.intevation.org