diff --git a/ui-eln-lims/src/core-plugins/eln-lims/1/dss/file-system-plugins/eln-tree/resolver-plugins/microscopy.py b/ui-eln-lims/src/core-plugins/eln-lims/1/dss/file-system-plugins/eln-tree/resolver-plugins/microscopy.py index e2d4f56fde2a475d36106902372b3b5e852f59ab..68885e4499b13be33d80e6cbb035371aa2339aa3 100644 --- a/ui-eln-lims/src/core-plugins/eln-lims/1/dss/file-system-plugins/eln-tree/resolver-plugins/microscopy.py +++ b/ui-eln-lims/src/core-plugins/eln-lims/1/dss/file-system-plugins/eln-tree/resolver-plugins/microscopy.py @@ -10,6 +10,8 @@ acceptor.hideDataSetType("MICROSCOPY_IMG_THUMBNAIL") def addSampleChildNodes(path, samplePermId, sampleType, response, acceptor, context): dataSetSearchCriteria = DataSetSearchCriteria() + dataSetSearchCriteria.withOrOperator() + dataSetSearchCriteria.withSample().withPermId().thatEquals(samplePermId) parentsSearchCriteria = dataSetSearchCriteria.withSample().withParents() parentsSearchCriteria.withPermId().thatEquals(samplePermId) fetchOptions = DataSetFetchOptions()