01-12-2010, 08:32 PM
That link is generated from the functions.php file, in the list_nav_generator() function. Search for "Generate Next Link".
It would appear that $page_url is being set incorrectly, when the function is called. Can you confirm the URL of the page where the incorrect list is being displayed? Based on code review, it looks like delete.php, and the following call to list_nav_generator:
list_nav_generator(sizeof($sorted_array_id), $GLOBALS['CONFIG']['page_limit'], $page_url, $_REQUEST['page'], $_REQUEST['sort_by'], $_REQUEST['sort_order']);
I'm going to guess that you need to add the
$GLOBALS['CONFIG']['num_page_limit']
parameter before the $page_url. (See example in file_ops.php). The function takes seven parameters, but only six are provided as used in delete.php.
Hope that fixes it, let us know!
jonathanwminer
It would appear that $page_url is being set incorrectly, when the function is called. Can you confirm the URL of the page where the incorrect list is being displayed? Based on code review, it looks like delete.php, and the following call to list_nav_generator:
list_nav_generator(sizeof($sorted_array_id), $GLOBALS['CONFIG']['page_limit'], $page_url, $_REQUEST['page'], $_REQUEST['sort_by'], $_REQUEST['sort_order']);
I'm going to guess that you need to add the
$GLOBALS['CONFIG']['num_page_limit']
parameter before the $page_url. (See example in file_ops.php). The function takes seven parameters, but only six are provided as used in delete.php.
Hope that fixes it, let us know!
jonathanwminer