sonata-project/SonataAdminBundle — pull request #552 by butt (2012-02-08 17:34:48+00:00)
Title: added maxPageLinks for set maximum number of page numbers

In our application I need to have an ability to set from AdminInterface maximum number of page numbers which to display in the list.

I have created small patch:
maximum number of page numbers = MaxPageLinks
or
you can set maximum number of page numbers from template (getLinks(5))