Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
b0dec521
Commit
b0dec521
authored
May 04, 2022
by
Piotr Gawron
Browse files
dont filter by ids if we don't have ids
parent
75be6bed
Pipeline
#56034
passed with stage
in 54 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rest-api/src/main/java/lcsb/mapviewer/api/projects/models/bioentities/elements/ElementsController.java
View file @
b0dec521
...
...
@@ -93,7 +93,9 @@ public class ElementsController extends BaseController {
if
(!
Objects
.
equals
(
modelId
,
"*"
))
{
properties
.
put
(
ElementProperty
.
MAP_ID
,
Arrays
.
asList
(
Integer
.
valueOf
(
modelId
)));
}
properties
.
put
(
ElementProperty
.
ID
,
new
ArrayList
<>(
ids
));
if
(
ids
.
size
()
>
0
)
{
properties
.
put
(
ElementProperty
.
ID
,
new
ArrayList
<>(
ids
));
}
List
<
Element
>
allElements
=
elementService
.
getElementsByFilter
(
properties
,
true
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment