'Knp paginator get all rows total
As I noticed in SQL query logger Knp paginator at first counts all records available and then in second query retrieves records that are needed in requested page. I wonder if there is some way to update first query to retrieve additional counts/sums as I would like to get total count/sum in all records available?
Solution 1:[1]
{{ pagination.getTotalItemCount }}
use getTotalItemCount method to access the total count
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Arun Vitto |
