[master | DONE | FIXED]: IndicatorController.java: In method "parameterMapping()" set in parameter index_shortName the shortname of the stakeholder, not the name.
This commit is contained in:
parent
9d585f12e0
commit
420e6f46fb
|
@ -505,7 +505,11 @@ public class IndicatorController {
|
|||
if (indicatorPath.getParameters().containsKey("index_name")) {
|
||||
indicatorPath.getParameters().put("index_name", stakeholder.getIndex_name());
|
||||
} else if (indicatorPath.getParameters().containsKey("index_shortName")) {
|
||||
indicatorPath.getParameters().put("index_shortName", stakeholder.getIndex_name().toLowerCase());
|
||||
if(stakeholder.getIndex_shortName() != null) {
|
||||
indicatorPath.getParameters().put("index_shortName", stakeholder.getIndex_shortName().toLowerCase());
|
||||
} else {
|
||||
indicatorPath.getParameters().remove("index_shortName");
|
||||
}
|
||||
} else if (indicatorPath.getParameters().containsKey("index_id")) {
|
||||
indicatorPath.getParameters().put("index_id", stakeholder.getIndex_id());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue