Skip to content

Commit

Permalink
feat: parses for searchOnClear in suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Jtang-1 committed Jan 13, 2024
1 parent 34e5a81 commit bb14258
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/commcare/xml/SessionDatumParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ private RemoteQueryDatum parseRemoteQueryDatum()

boolean defaultSearch = "true".equals(parser.getAttributeValue(null, "default_search"));
boolean dynamicSearch = "true".equals(parser.getAttributeValue(null, "dynamic_search"));
boolean searchOnClear = "true".equals(parser.getAttributeValue(null, "search_on_clear"));
Text title = null;
Text description = null;
Hashtable<String, QueryGroup> groupPrompts = new Hashtable<>();
Expand All @@ -152,6 +153,7 @@ private RemoteQueryDatum parseRemoteQueryDatum()
}
}
return new RemoteQueryDatum(queryUrl, queryResultStorageInstance, hiddenQueryValues,
userQueryPrompts, useCaseTemplate, defaultSearch, dynamicSearch, title, description, groupPrompts);
userQueryPrompts, useCaseTemplate, defaultSearch, dynamicSearch, title, description, groupPrompts,
searchOnClear);
}
}

0 comments on commit bb14258

Please sign in to comment.