Skip to content

Commit

Permalink
FRI-493 Function updated
Browse files Browse the repository at this point in the history
  • Loading branch information
QuyenLy87 committed Jan 10, 2023
1 parent e2ed4c6 commit 09cd3f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ public ResponseEntity createRVFFailureJiraAssociations(@PathVariable final Strin

private List<Sort.Order> createPageRequest(String[] sort) {
List<Sort.Order> orders = new ArrayList<>();
if (sort.length == 2) {
if (sort.length == 2 && !sort[0].contains(COMMA)) {
String fieldSortProperty = sort[0];
String fieldSortDirection = sort[1];
Sort.Direction sortDirection = (fieldSortDirection != null && fieldSortDirection.equalsIgnoreCase("desc")) ? Sort.Direction.DESC : Sort.Direction.ASC;
Expand Down

0 comments on commit 09cd3f3

Please sign in to comment.