Paginators always repeat the query even if the count is 0 (original) (raw)

Checklist

Steps to reproduce

Expected behavior

Actual behavior

This isn't a problem in the case I described, but in some cases the query can get quite complex and slow. Even if the view isn't wrapped in a transaction and it is possible to get rows on the second run, the results will be inconsistent, but the maybe expensive query is re-run.