Fix double-sorting usung limit of FetchableFluentQueryBySpecification.
Closes #3600 Original pull request: #3601
This commit is contained in:
@@ -95,7 +95,7 @@ class FetchableFluentQueryBySpecification<S, R> extends FluentQuerySupport<S, R>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user