Count Page "Vendor" and "Sites" Menu

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
joseme
Cacti User
Posts: 90
Joined: Fri May 15, 2009 9:36 am

Count Page "Vendor" and "Sites" Menu

Post by joseme »

Hi:
I found a minor bug, the count page doesn't work in "Vendor" and "Sites" menu, it shows:
http://xxxxxx/cacti/plugins/mactrack/ma ... php&page=2
and should be:
http://xxxxxx/cacti/plugins/mactrack/ma ... ormacs.php?filter=&page=2

so, I changed from:

/* generate page list */
$url_page_select = str_replace("&page", "?page", get_page_list($_REQUEST["page"], MAX_DISPLAY_PAGES, $row_limit, $total_rows, "mactrack_vendormacs.php"));

To:

/* generate page list */
$url_page_select = str_replace("&page", "?page", get_page_list($_REQUEST["page"], MAX_DISPLAY_PAGES, $row_limit, $total_rows, "mactrack_vendormacs.php?filter="));

That's all.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests