Skip to content

Commit

Permalink
fix: remove boolean check for filterformSubmissionStatusCode props
Browse files Browse the repository at this point in the history
  • Loading branch information
timisenco2015 authored Oct 11, 2023
1 parent 3a9ea1e commit 116ac59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/forms/form/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const service = {
.modify('filterCreatedBy', params.createdBy)
.modify('filterFormVersionId', params.formVersionId)
.modify('filterVersion', params.version)
.modify('filterformSubmissionStatusCode', JSON.parse(params.filterformSubmissionStatusCode))
.modify('filterformSubmissionStatusCode', params.filterformSubmissionStatusCode)
.modify('orderDefault', params.sortBy && params.page ? true : false, params);
if (params.createdAt && Array.isArray(params.createdAt) && params.createdAt.length == 2) {
query.modify('filterCreatedAt', params.createdAt[0], params.createdAt[1]);
Expand Down

0 comments on commit 116ac59

Please sign in to comment.