convert webui listports to pages?

Beat Gätzi beat at chruetertee.ch
Sun Nov 13 17:09:30 EST 2011


On Nov 13, 2011, at 10:56 PM, John Marino wrote:
> On 11/13/2011 3:54 PM, Beat Gätzi wrote:
>> You may want to set $list_limit_nr in inc_tinderbox.php. This limits the
>> number of shown ports per page.
> Well, setting that variable results in an MDB2 error.

Hmm, I can't reproduce this. I have $list_limit_nr enabled on all my
tinderbox instances and never run into this problem.

> There's also an error on line 69 of moduleBuildPorts.php, but that's probably because of the first error.

Do you have any ports builded or is this a new installation?

> Plus if I understand what it's doing, it's just going to limit the result set to this number, not provide pagination, right?

Please take a look at my tinderbox. The number of ports is limited to 100
and I'm able to switch between the pages with the next and prev links:
http://tinderbox.chruetertee.ch/tb/index.php?action=list_buildports&build=10-FreeBSD

Isn't this what you are looking for?

Beat


More information about the tinderbox-list mailing list