Solutionunvalidated
See the javadoc for `countQuery` — for pagination queries to look up the total number of elements for a page. Tension: it is using the original query (including the sort) to perform the count which results in an invalid query. Outcome: add a custom count query which excludes the sort and everything should work as expected.
2f0846bd-b954-4699-8e64-4528fc4b42cb
See the javadoc for countQuery — for pagination queries to look up the total number of elements for a page. Tension: it is using the original query (including the sort) to perform the count which results in an invalid query. Outcome: add a custom count query which excludes the sort and everything should work as expected.