Bug in demo: Server-side processing | PHP with PostgreSQL

Bug in demo: Server-side processing | PHP with PostgreSQL

acidstoutacidstout Posts: 8Questions: 0Answers: 0
edited March 2013 in Bug reports
Line 53 is
[code]
$sLimit = "LIMIT ".intval( $_GET['iDisplayStart'] )." OFFSET ".
intval( $_GET['iDisplayLength'] );
[/code]
but has to be
[code]
$sLimit = "LIMIT ".intval( $_GET['iDisplayLength'] )." OFFSET ".
intval( $_GET['iDisplayStart'] );
[/code]
otherwise the first table page is empty and clicking through next pages adds results to the current page.

Replies

  • allanallan Posts: 56,819Questions: 1Answers: 9,029 Site admin
    Doh! Thanks for picking that up and letting me know. Fixed now.

    Allan
This discussion has been closed.