Skip to content

Commit

Permalink
Merge pull request #1247 from egovernments/plan-feature-6
Browse files Browse the repository at this point in the history
Adding orderBy clause for plan search query
  • Loading branch information
shashwat-egov authored Dec 6, 2024
2 parents 72bcf35 + b9bc49a commit 2d7a56f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private String buildPlanQuery(List<String> ids, List<Object> preparedStmtList) {
queryUtil.addToPreparedStatement(preparedStmtList, ids);
}

return builder.toString();
return queryUtil.addOrderByClause(builder.toString(), PLAN_SEARCH_QUERY_ORDER_BY_CLAUSE);
}

public String getPlanSearchQuery(PlanSearchCriteria planSearchCriteria, List<Object> preparedStmtList) {
Expand Down

0 comments on commit 2d7a56f

Please sign in to comment.