diff --git a/arex-web-core/src/main/java/com/arextest/web/core/repository/mongo/FSCaseRepositoryImpl.java b/arex-web-core/src/main/java/com/arextest/web/core/repository/mongo/FSCaseRepositoryImpl.java index 85b38992..6d7b04b8 100644 --- a/arex-web-core/src/main/java/com/arextest/web/core/repository/mongo/FSCaseRepositoryImpl.java +++ b/arex-web-core/src/main/java/com/arextest/web/core/repository/mongo/FSCaseRepositoryImpl.java @@ -138,7 +138,7 @@ public List queryCases(String workspaceId, String name, List Query query = Query.query( Criteria.where(FSInterfaceCollection.Fields.workspaceId).is(workspaceId)); if (StringUtils.isNotEmpty(name)) { - query.addCriteria(Criteria.where(FSInterfaceCollection.Fields.name).regex(name, "i")); + query.addCriteria(Criteria.where(FSInterfaceCollection.Fields.name).regex(name,"i")); } if (includeLabels != null && !includeLabels.isEmpty()) { query.addCriteria(new Criteria().orOperator(