Skip to content
Snippets Groups Projects
Commit c17ca9df authored by vkovtun's avatar vkovtun
Browse files

SSDM-13126: Fixed the incorrect behavior of DataSetSearchCriteria.withContainer().

parent 76a13c54
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -175,7 +175,7 @@ public abstract class AbstractCompositeEntitySearchManager<CRITERIA extends Abst ...@@ -175,7 +175,7 @@ public abstract class AbstractCompositeEntitySearchManager<CRITERIA extends Abst
? Collections.singleton(containerCriteriaIntermediateResults) : Collections.emptySet(), ? Collections.singleton(containerCriteriaIntermediateResults) : Collections.emptySet(),
nestedCriteriaIntermediateResults); nestedCriteriaIntermediateResults);
} else if (mainCriteria.isEmpty() && parentRelationshipsCriteria.isEmpty() } else if (mainCriteria.isEmpty() && parentRelationshipsCriteria.isEmpty()
&& childRelationshipsCriteria.isEmpty() && nestedCriteria.isEmpty()) && childRelationshipsCriteria.isEmpty() && nestedCriteria.isEmpty() && containerCriteria.isEmpty())
{ {
// If we don't have results and criteria are empty, return all. // If we don't have results and criteria are empty, return all.
results = getAllIds(userId, authorisationInformation, idsColumnName, tableMapper, null); results = getAllIds(userId, authorisationInformation, idsColumnName, tableMapper, null);
......
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