silverstripe/silverstripe-framework — pull request #3493 by spekulatius (2014-09-18 01:05:56+00:00)
Title: Gridfield Paginator counting only viewable items

When displaying any list which contains objects which aren't viewable for the current user the count isn't equal with the number of viewed elements. I tried it with a ArrayList containing DataObjects which use _canView() to determine if it should be displayed. The DataObjects which weren't allowed to display didn't show up but still were counted.