[drupal-devel] hard coded page sizes

Gabor Hojtsy gabor at hojtsy.hu
Wed Oct 12 22:08:18 UTC 2005


> 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