Merge pull request #5024 from rvantonder/patch-1
Wrong implementation of internal SortFieldList.nulls()
This commit is contained in:
commit
ef14ebf45d
@ -95,7 +95,7 @@ class SortFieldList extends QueryPartList<SortField<?>> {
|
||||
final boolean nulls() {
|
||||
for (SortField<?> field : this)
|
||||
if (((SortFieldImpl<?>) field).getNullsFirst() ||
|
||||
((SortFieldImpl<?>) field).getNullsFirst())
|
||||
((SortFieldImpl<?>) field).getNullsLast())
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user