[Lada-commits] [PATCH 2 of 2] Use store with all status values for filtering

Wald Commits scm-commit at wald.intevation.org
Wed Jun 8 12:44:50 CEST 2016


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1465382643 -7200
# Node ID a393d9650a0b45888dbfc0ddd0590306cf963060
# Parent  85acec6c6e6af544770f97d0216d1a7aa7ec89f8
Use store with all status values for filtering.

The local store of the widget contains only those which can
be set by the user.

diff -r 85acec6c6e6a -r a393d9650a0b app/controller/Filter.js
--- a/app/controller/Filter.js	Wed Jun 08 12:37:53 2016 +0200
+++ b/app/controller/Filter.js	Wed Jun 08 12:44:03 2016 +0200
@@ -313,6 +313,7 @@
             else if (type === 'liststatus') {
                 field = Ext.create('Lada.view.widget.Status', {
                     name: name,
+                    store: Ext.StoreManager.get('statuswerte'),
                     labelWidth: 135,
                     fieldLabel: label,
                     forceSelection: false,


More information about the Lada-commits mailing list