Commit 65673943 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

model id fixed in API response to point to the right submap

parent 7d53d398
......@@ -161,7 +161,7 @@ public class CommentRestImpl extends BaseRestImpl {
} else if (column.equals("elementid")) {
value = getId(comment);
} else if (column.equals("modelid")) {
value = comment.getModelData().getId();
value = comment.getSubmodelData().getId();
} else if (column.equals("title")) {
value = getTitle(comment);
} else if (column.equals("pinned")) {
......
Supports Markdown
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