Skip to content

Commit

Permalink
refine key search
Browse files Browse the repository at this point in the history
Issue #123
  • Loading branch information
rsoika committed Sep 7, 2022
1 parent c2326d9 commit f4e1af2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ public ItemCollection processSEPAExport(ItemCollection datevExport) throws Acces
* @throws QueryException
*/
public ItemCollection findSEPAExport(String key) throws QueryException {
String query = "(type:workitem) AND ($taskid:1000) AND ($modelversion:sepa-export-manual*) AND (name:" + key
+ ")";
String query = "(type:workitem) AND ($taskid:1000) AND ($modelversion:sepa-export-manual*) AND (name:\"" + key
+ "\")";
List<ItemCollection> resultList = workflowService.getDocumentService().find(query, 1, 0, "$modified", true);

if (resultList.size() > 0) {
Expand Down

0 comments on commit f4e1af2

Please sign in to comment.