Mercurial > lada > lada-client
diff app/view/grid/Ortszuordnung.js @ 1346:8742d020c685
Get kta code to display the correct value in ortszuordnung grid.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 06 Feb 2017 12:02:37 +0100 |
parents | 1a2cd9bef6d7 |
children | c05a5534f0d9 |
line wrap: on
line diff
--- a/app/view/grid/Ortszuordnung.js Mon Feb 06 11:57:05 2017 +0100 +++ b/app/view/grid/Ortszuordnung.js Mon Feb 06 12:02:37 2017 +0100 @@ -149,7 +149,9 @@ if (!record || record.get('anlageId') === '') { return ''; } - return record.get('anlageId'); + var ktas = Ext.data.StoreManager.get('ktas'); + var kta = ktas.getById(record.get('anlageId')); + return kta.get('code'); } }]; this.listeners = {