Skip to content
Snippets Groups Projects
Commit 1644d83f authored by juanf's avatar juanf
Browse files

SSDM-2495 : Polishing

SVN: 34754
parent cbb015f5
No related branches found
No related tags found
No related merge requests found
......@@ -567,9 +567,23 @@ def searchSamples(tr, parameters, tableBuilder, sessionId):
if withProperties:
fetchOptions.withProperties();
if withParents:
fetchOptions.withParents();
fetchOptionsParents = SampleFetchOptions();
fetchOptionsParents.withProperties();
fetchOptionsParents.withType();
fetchOptionsParents.withSpace();
fetchOptionsParents.withExperiment();
fetchOptionsParents.withRegistrator();
fetchOptionsParents.withModifier();
fetchOptions.withParentsUsing(fetchOptionsParents);
if withChildren:
fetchOptions.withChildren();
fetchOptionsChildren = SampleFetchOptions();
fetchOptionsChildren.withProperties();
fetchOptionsChildren.withType();
fetchOptionsChildren.withSpace();
fetchOptionsChildren.withExperiment();
fetchOptionsChildren.withRegistrator();
fetchOptionsChildren.withModifier();
fetchOptions.withChildrenUsing(fetchOptionsChildren);
if withAncestors:
fetchOptionsAncestors = SampleFetchOptions();
fetchOptionsAncestors.withProperties();
......
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