Skip to content

Commit

Permalink
OP-20675 : removed "nulls first" from select query orderBy (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirangodishala authored Jul 7, 2023
1 parent 967154d commit dc990b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ class SqlExecutionRepository(
},
seek = {
val ordered = when (sorter) {
START_TIME_OR_ID -> it.orderBy(field("start_time").desc().nullsFirst(), field("id").desc())
START_TIME_OR_ID -> it.orderBy(field("start_time").desc(), field("id").desc())
BUILD_TIME_DESC -> it.orderBy(field("build_time").asc(), field("id").asc())
else -> it.orderBy(field("id").desc())
}
Expand Down

0 comments on commit dc990b1

Please sign in to comment.