Mercurial > lada > lada-client
diff app/view/grid/Probenzusatzwert.js @ 723:52c50a5f457b
Fixes an Issue that the wrong Units were shown for a Probenzusatzwert. Now the findRecord operation looks for an exact match of the mehId in the Messeinheiten Store
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 16 Apr 2015 13:39:08 +0200 |
parents | 7f11b75e0188 |
children | 5ed0e6273888 |
line wrap: on
line diff
--- a/app/view/grid/Probenzusatzwert.js Thu Apr 16 11:58:00 2015 +0200 +++ b/app/view/grid/Probenzusatzwert.js Thu Apr 16 13:39:08 2015 +0200 @@ -132,7 +132,7 @@ var zstore = Ext.data.StoreManager.get('probenzusaetze'); var mstore = Ext.data.StoreManager.get('messeinheiten'); var mehId = zstore.getById(value).get('mehId'); - var record = mstore.findRecord('id', mehId); + var record = mstore.findRecord('id', mehId, 0, false, false, true); return record.get('einheit'); } }, {