diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js index 63f28ecb21da74a6b05c8e94fde557b76cd443ad..95622b946622eb701802d3ba891aa377cd3335be 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js @@ -1025,6 +1025,7 @@ function ServerFacade(openbisServer) { switch(comparisonOperator) { case "thatEqualsUserId": criteria.withRegistrator().withUserId().thatEquals(attributeValue); + break; case "thatContainsFirstName": criteria.withRegistrator().withFirstName().thatContains(attributeValue); break; @@ -1039,6 +1040,7 @@ function ServerFacade(openbisServer) { switch(comparisonOperator) { case "thatEqualsDate": criteria.withRegistrationDate().thatEquals(attributeValue); + break; case "thatIsLaterThanOrEqualToDate": criteria.withRegistrationDate().thatIsLaterThanOrEqualTo(attributeValue); break; @@ -1055,6 +1057,7 @@ function ServerFacade(openbisServer) { switch(comparisonOperator) { case "thatEqualsUserId": criteria.withModifier().withUserId().thatEquals(attributeValue); + break; case "thatContainsFirstName": criteria.withModifier().withFirstName().thatContains(attributeValue); break; @@ -1069,6 +1072,7 @@ function ServerFacade(openbisServer) { switch(comparisonOperator) { case "thatEqualsDate": criteria.withModificationDate().thatEquals(attributeValue); + break; case "thatIsLaterThanOrEqualToDate": criteria.withModificationDate().thatIsLaterThanOrEqualTo(attributeValue); break; diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js index 867fe816ddf588740f803545b074a609ccf4e20e..9fdbf30e08ef6dfac288211dcc4a10761d286286 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js @@ -384,6 +384,7 @@ function AdvancedSearchView(advancedSearchController, advancedSearchModel) { var selectedValue = $thisComponent.val(); _this._advancedSearchModel.criteria.rules[uuid].operator = selectedValue; //Update model }); + comparisonDropdown.trigger("change"); $newFieldOperatorContainer.append(comparisonDropdown);