Skip to content

Commit 89d70f7

Browse files
Fix for search issues
1 parent e776621 commit 89d70f7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/forms/admin/service.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,17 +219,17 @@ const service = {
219219
if (key !== 'submissionId' && key !== 'formVersionId' && key !== 'formId') {
220220
if (!Array.isArray(data[key]) && !typeUtils.isObject(data[key])) {
221221
//Search for date/time match in properties
222-
if (this.matchDate(data[key], search)) {
222+
if (service.matchDate(data[key], search)) {
223223
result.total = result.total + 1;
224224
return true;
225225
}
226226
//Search for string match in properties
227-
if (this.matchString(data[key], search)) {
227+
if (service.matchString(data[key], search)) {
228228
result.total = result.total + 1;
229229
return true;
230230
}
231231
//Search to match numeric values in properties
232-
if (this.matchNum(data[key], search)) {
232+
if (service.matchNum(data[key], search)) {
233233
result.total = result.total + 1;
234234
return true;
235235
}

0 commit comments

Comments
 (0)