Skip to content

Commit

Permalink
Fix double-sorting usung limit of `FetchableFluentQueryBySpecificat…
Browse files Browse the repository at this point in the history
…ion`.

Closes #3600
Original pull request: #3601
  • Loading branch information
JingBh authored Sep 2, 2024
1 parent b00220b commit d08b69d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public FetchableFluentQuery<R> limit(int limit) {

Assert.isTrue(limit >= 0, "Limit must not be negative");

return new FetchableFluentQueryBySpecification<>(spec, entityType, resultType, this.sort.and(sort), limit,
return new FetchableFluentQueryBySpecification<>(spec, entityType, resultType, sort, limit,
properties, finder, scroll, countOperation, existsOperation, entityManager, projectionFactory);
}

Expand Down

0 comments on commit d08b69d

Please sign in to comment.