Page 1 of 1

Pagenation class doesn't carry "action" to the generated links.

Posted: Fri Nov 18, 2005 3:25 am
by lemkepf
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:

Code: Select all

echo $this->CreatePagination($id, "manage_user", "", $params['page'], $total_recs,
$num_per_batch);
Here is a fix:
line: 2074
FROM THIS:

Code: Select all

$link = '<a href="'.$goto.'?module='.$this->GetName().'&'.$id.'returnid='.$id.$returnid.'&'.$
id.'page=';
TO THIS:

Code: Select all

$link = '<a href="'.$goto.'?module='.$this->GetName().'&'.$id.'returnid='.$id.$returnid.'&'.$
id.'action=' . $action .'&'.$id.'page=';

Re: Pagenation class doesn't carry "action" to the generated links.

Posted: Tue Nov 29, 2005 5:31 pm
by lemkepf
This will be fixed in the next version.