On Monday 11 October 2004 21:40, Bob Hutchinson wrote:
> On Monday 11 October 2004 20:06, Bill Shupp wrote:
> > Bob Hutchinson wrote:
> > >On Saturday 09 October 2004 22:36, Bill Shupp wrote:
> > >>Bob Hutchinson wrote:
<snip>
> >
> > I have addressed all the issues above, and released 0.9.6 with the
> > fixes.  Thanks...
>
> I'm getting a small problem with pagination, it shows one short, but
> altering line 110 in domains.php (version 0.9.5)

Ha, it only does it when the number of domains is exactly divisible by 
$per_page.
I have 90 domains in the test db
It loses one if I set $per_page to 10, 30 or 45

>
> $first_domain = ($page * $per_page) - $per_page;
> to
> $first_domain = ($page * $per_page) - $per_page +1;
>
> fixes it
>
> Is anyone else seeing this?
>
> > On another note, is anyone in need of pagination for the "Accounts"
> > pages?  How many accounts do most VegaDNS implementations have?
>
> My two bits worth:
> pagination would ensure scalability, and the code would be very similar to
> what is in domains.
>
> I will do it and submit to you for checking, Bill, if you are happy with
> that
>
> > Regards,
> >
> > Bill

-- 
-----------------
Bob Hutchinson
Midwales dot com
-----------------

Reply via email to