Skip to content

Commit

Permalink
Issue #CO-321 merge: Merge pull request #304 from manojSRawat/program…
Browse files Browse the repository at this point in the history
…-search

Program name like search added
  • Loading branch information
vinukumar-vs authored Aug 24, 2023
2 parents 4b2ee58 + 7783926 commit 33321c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/service/programService.js
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,11 @@ async function programList(req, response) {
...dateFilterValue
}
};
} else if (key === 'name' && value) {
delete data.request.filters[key];
return {
[key]: {[Op.like]: `%${value}%`}
}
}
}));

Expand Down

0 comments on commit 33321c3

Please sign in to comment.