Prior to this PR, whenever a page of items is fetched, it included the total count of items that the filter applied to, but the total count is only needed once.
This meant an extra sql query to count the items on every page fetched. Usually this extra query isn't much, but for large servers, it can add up.
Prior to this PR, whenever a page of items is fetched, it included the total count of items that the filter applied to, but the total count is only needed once.
This meant an extra sql query to count the items on every page fetched. Usually this extra query isn't much, but for large servers, it can add up.
Related to #208 and #254