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 cdf45d63e6378fce9d27251767b29583d876343e..44e7799baaad52113d50dc769e43f2b9a069f8d8 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
@@ -2104,7 +2104,7 @@ function ServerFacade(openbisServer) {
                                 case "SIZE":
                                     switch(comparisonOperator) {
                                         case "thatEqualsNumber":
-                                                criteria.withPhysicalData().withSize().thatEquals(giattributeValue);
+                                                criteria.withPhysicalData().withSize().thatEquals(attributeValue);
                                                 break;
                                         case "thatIsLessThanNumber":
                                                 criteria.withPhysicalData().withSize().thatIsLessThan(attributeValue);