[Lada-commits] [PATCH 8 of 9] Allow empty filter

Wald Commits scm-commit at wald.intevation.org
Thu Mar 10 10:15:39 CET 2016


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1457537120 -3600
# Node ID 4654b788f3d4d77edcb6169b78fa98e48bb0c096
# Parent  0497693d5b74855297d53f099506ebfb53bc2ea4
Allow empty filter.

diff -r 0497693d5b74 -r 4654b788f3d4 app/controller/Filter.js
--- a/app/controller/Filter.js	Wed Mar 09 16:15:23 2016 +0100
+++ b/app/controller/Filter.js	Wed Mar 09 16:25:20 2016 +0100
@@ -230,6 +230,7 @@
                     labelWidth: 135,
                     fieldLabel: label,
                     multiSelect: multi,
+                    forceSelection: false,
                     filterId: filterId,
                     value: value
                 });
@@ -241,6 +242,7 @@
                     fieldLabel: label,
                     value: value,
                     filterId: filterId,
+                    forceSelection: false,
                     multiSelect: multi,
                     displayTpl: Ext.create('Ext.XTemplate',
                      '<tpl for=".">{id} </tpl>')
@@ -251,6 +253,7 @@
                     name: name,
                     labelWidth: 135,
                     fieldLabel: label,
+                    forceSelection: false,
                     value: value,
                     filterId: filterId,
                     multiSelect: multi
@@ -261,6 +264,7 @@
                     name: name,
                     labelWidth: 135,
                     fieldLabel: label,
+                    forceSelection: false,
                     value: value,
                     filterId: filterId,
                     multiSelect: multi
@@ -271,6 +275,7 @@
                     name: name,
                     labelWidth: 135,
                     fieldLabel: label,
+                    forceSelection: false,
                     value: value,
                     filterId: filterId,
                     multiSelect: multi


More information about the Lada-commits mailing list