best place to change the number of returned results?

Discussion in 'General' started by greeblesnort, Dec 17, 2007.

  1. greeblesnort

    greeblesnort New Member

    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?
     
  2. falko

    falko Super Moderator Howtoforge Staff HowtoForge Supporter

    What exactly are you talking about?
     
  3. greeblesnort

    greeblesnort New Member

    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?
     
    Last edited: Dec 18, 2007
  4. falko

    falko Super Moderator Howtoforge Staff HowtoForge Supporter

    Not unless you change the source code. I guess this will be configurable in a future version. :)
     
  5. greeblesnort

    greeblesnort New Member

    While I'm a pretty lousy programmer, I'm not actually allergic to code. Is this likely just a LIMIT statement?
     
  6. greeblesnort

    greeblesnort New Member

    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;
     

Share This Page