diff --git a/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js b/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js index ad0fea4148d69fae00b6e9be704265971f29a168..fc9f1f3966550be00515f29dc451c412fc359216 100644 --- a/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js +++ b/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js @@ -2123,13 +2123,13 @@ function ServerFacade(openbisServer) { case "PARENTS": var parentsCriteria = criteria.withParents(); parentsCriteria.withOrOperator(); - parentsCriteria.withCode().thatContains(attributeValue); + parentsCriteria.withIdentifier().thatContains(attributeValue); parentsCriteria.withProperty(profile.propertyReplacingCode).thatContains(attributeValue); break; case "CHILDREN": var childrenCriteria = criteria.withChildren(); childrenCriteria.withOrOperator(); - childrenCriteria.withCode().thatContains(attributeValue); + childrenCriteria.withIdentifier().thatContains(attributeValue); childrenCriteria.withProperty(profile.propertyReplacingCode).thatContains(attributeValue); break; }