Commit 1666ddb4 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

793: Migrate search interface

Task-Url: https://minfba.de.dariah.eu/mantisbt/view.php?id=793
parent cb76f12e
......@@ -67,6 +67,15 @@ public class ModelElementPojoConverter {
p.setState(ModelElementState.OK);
p.setType("Label");
if (!staticElementsOnly && l.getSubLabels()!=null && l.getSubLabels().size()>0) {
if (p.getChildElements()==null) {
p.setChildElements(new ArrayList<ModelElementPojo>());
}
for (Label childL : l.getSubLabels()) {
p.getChildElements().add(convertLabel(childL, staticElementsOnly));
}
}
return convertElement(p, l, staticElementsOnly);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment