[drupal-devel] hard coded page sizes

David Reed dreed10 at gmail.com
Wed Oct 12 23:52:47 UTC 2005


Patch provided for review at http://drupal.org/node/33809

On 10/12/05, Gabor Hojtsy <gabor at hojtsy.hu> wrote:
> > Thanks Moshe,  yep, that would do it for me.
> >
> > So the consensus is a new "admin_page_size" variable with no UI
> > interface?  Correct?
> >
> > I guess the next question I have is that when I looked at the existing
> > code of the 16 instances of admin type pages that I found they are not
> > all using the same hard-coded page size.
> >
> > 6 were using 50
> > 6 were using 30
> > 1 was using 25
> > 3 were using 20
> >
> > So do we create multiple variables?  By size range?  By module?  By ???
>
> I would create admin_pager_long (50) and admin_pager_normal (30), and
> let the 25 and 20 long pages use the normal pager size.
>
> Goba
>



More information about the drupal-devel mailing list