Skip to content
Snippets Groups Projects
Commit 8169ca0e authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '248-comment-on-submap' into 'devel_11.0.x'

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

See merge request piotr.gawron/minerva!185
parents 7d53d398 65673943
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