PDA

View Full Version : best place to change the number of returned results?


greeblesnort
17th December 2007, 17:52
After spending a couple of hours trying to find the best place to alter the number of results returned (some of my zones have hundreds of records), can someone suggest the best method to change what appears to be the default of 15 returned records to something like 100?

falko
18th December 2007, 18:03
What exactly are you talking about?

greeblesnort
18th December 2007, 18:57
When I pull up the mydnsconfig page, I get Page 1 of 27 with 15 records per page. Is there a way to make that 15 a larger number?

falko
19th December 2007, 18:37
Not unless you change the source code. I guess this will be configurable in a future version. :)

greeblesnort
20th December 2007, 00:30
While I'm a pretty lousy programmer, I'm not actually allergic to code. Is this likely just a LIMIT statement?

greeblesnort
20th December 2007, 00:41
sorry for answering my own post, but for future reference, the setting appears to be in:
mydnsconfig/web/dns/list# grep -r records_per_page ./*
./rr.list.php:$liste["records_per_page"] = 100;
./soa.list.php:$liste["records_per_page"] = 100;