silverstripe/sapphire — pull request #830 by tractorcow (2012-09-27 23:16:43+00:00)
Title: NEW: REDUX: GridView page count control for gridview header Ticket #7885

Following https://github.com/silverstripe/sapphire/pull/829 I've re-implemented the GridFieldPageCount control to rely on the GridFieldPaginator object more directly rather than the GridFieldState as a transitionary place for information.

Less code is now duplicated across each object and the GridFieldState is left for it's original purpose, although the dependency between the two objects is now very rigid.