like i wrote in other commit, pass query to paginator.