Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!185model id fixed in API response to point to the right submap
......@@ -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")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment