adamsaghy commented on code in PR #4353:
URL: https://github.com/apache/fineract/pull/4353#discussion_r1967552511
##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/sms/service/SmsReadPlatformServiceImpl.java:
##########
@@ -200,6 +199,9 @@ public Collection<SmsData> retrieveAllFailed(final Integer
limit) {
@Override
public Page<SmsData> retrieveSmsByStatus(final Long campaignId, final
SearchParameters searchParameters, final Integer status,
final LocalDate dateFrom, final LocalDate dateTo) {
+ sqlValidator.validate(searchParameters.getOrderBy());
Review Comment:
Should we have some test cases for these newly added validations?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]