[Lada-commits] [PATCH] Get kta code to display the correct value in ortszuordnung grid
Wald Commits
scm-commit at wald.intevation.org
Mon Feb 6 12:02:40 CET 2017
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1486378957 -3600
# Node ID 8742d020c685066a10d7026071f0813547f68467
# Parent da98f0e7c288b8fcab1c3f7b6139bcac15e132d0
Get kta code to display the correct value in ortszuordnung grid.
diff -r da98f0e7c288 -r 8742d020c685 app/view/grid/Ortszuordnung.js
--- 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 = {
More information about the Lada-commits
mailing list