diff --git a/plasmid/source/core-plugins/eln-lims/1/dss/reporting-plugins/newbrowserapi/script.py b/plasmid/source/core-plugins/eln-lims/1/dss/reporting-plugins/newbrowserapi/script.py index 1e1f7f408a677009cadd440746ed9de1ce820ae0..e26a47ea3715fe5c3988bdcf724fc9fc823202b8 100644 --- a/plasmid/source/core-plugins/eln-lims/1/dss/reporting-plugins/newbrowserapi/script.py +++ b/plasmid/source/core-plugins/eln-lims/1/dss/reporting-plugins/newbrowserapi/script.py @@ -553,9 +553,10 @@ def searchSamples(tr, parameters, tableBuilder, sessionId): #Properties if properyKeyValueList is not None: - for propertyTypeCode in properyKeyValueList.keySet(): - propertyValue = properyKeyValueList.get(propertyTypeCode); - criterion.withProperty(propertyTypeCode).thatEquals(propertyValue); + for keyValuePair in properyKeyValueList: + for propertyTypeCode in keyValuePair.keySet(): + propertyValue = keyValuePair.get(propertyTypeCode); + criterion.withProperty(propertyTypeCode).thatEquals(propertyValue); #Sub queries if sampleExperimentIdentifier is not None: