changeset 736:7ae9599bee39

Returned Units od Measurement where not distinct
author Dustin Demuth <dustin@intevation.de>
date Mon, 20 Apr 2015 11:13:29 +0200
parents fca4e738415e
children 4031b9aa8d83
files app/view/grid/Messwert.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/grid/Messwert.js	Fri Apr 17 14:13:28 2015 +0200
+++ b/app/view/grid/Messwert.js	Mon Apr 20 11:13:29 2015 +0200
@@ -75,7 +75,7 @@
                     return '';
                 }
                 var store = Ext.data.StoreManager.get('messgroessen');
-                return store.findRecord('id', value).get('messgroesse');
+                return store.findRecord('id', value, 0, false, false, true).get('messgroesse');
             },
             editor: {
                 xtype: 'combobox',
@@ -106,7 +106,7 @@
                     return '';
                 }
                 var store = Ext.data.StoreManager.get('messeinheiten');
-                return store.findRecord('id', value).get('einheit');
+                return store.findRecord('id', value, 0, false, false, true).get('einheit');
             },
             editor: {
                 xtype: 'combobox',

http://lada.wald.intevation.org