Pagenation class doesn't carry "action" to the generated links.
Posted: Fri Nov 18, 2005 3:25 am
In the file:
/ trunk / lib / classes / class.module.inc.php
On line:
2074
The CreatePagination function will not put the "action" into the generated links.
With this usage:
Here is a fix:
line: 2074
FROM THIS:
TO THIS:
/ trunk / lib / classes / class.module.inc.php
On line:
2074
The CreatePagination function will not put the "action" into the generated links.
With this usage:
Code: Select all
echo $this->CreatePagination($id, "manage_user", "", $params['page'], $total_recs,
$num_per_batch);
line: 2074
FROM THIS:
Code: Select all
$link = '<a href="'.$goto.'?module='.$this->GetName().'&'.$id.'returnid='.$id.$returnid.'&'.$
id.'page=';
Code: Select all
$link = '<a href="'.$goto.'?module='.$this->GetName().'&'.$id.'returnid='.$id.$returnid.'&'.$
id.'action=' . $action .'&'.$id.'page=';