diff app/controller/Filter.js @ 1106:ecce10cf32dc

add stus filter to messungs query
author Michael Stanko <mstanko@bfs.de>
date Thu, 12 May 2016 11:08:26 +0200
parents 2a5d42045c63
children 566976d72ce5
line wrap: on
line diff
--- a/app/controller/Filter.js	Wed May 11 08:59:25 2016 +0200
+++ b/app/controller/Filter.js	Thu May 12 11:08:26 2016 +0200
@@ -289,6 +289,17 @@
                     multiSelect: multi
                 });
             }
+            else if (type === 'liststatus') {
+                field = Ext.create('Lada.view.widget.Status', {
+                    name: name,
+                    labelWidth: 135,
+                    fieldLabel: label,
+                    forceSelection: false,
+                    value: value,
+                    filterId: filterId,
+                    multiSelect: multi
+                });
+            }
             if (field) {
                 filterValues.add(field);
                 filters.show();

http://lada.wald.intevation.org