I have a series of pages that provide paged tables inside of tabsets. Using the Tabs module, I get jQuery UI tabs, and I am using that to create pages with multiple horizontal tabs; inside those tabs I have forms and paged tables, typically one form or one paged table per tab.
The paged tables are generated using
pager_query(), where I am providing a pagerElement parameter because I have multiple paged tables on the same page (but on different tabs).
Likewise, when I call
theme('pager'), I am passing in my pagerElement so my multiple paged tables do not get confused, as well as an additional associative array for my active tabset parameter. The call looks like
theme('pager', NULL, $pagerLimit, $pagerElement, array('tabset'=>$pagerElement));.
The issue I'm having is the pager links being generated, for example: when first landing on one of these multi-tabbed pages, the pager links look like http://example.com/Projects-Dash?tabset=0&page=1.
However, as soon as a pager link is clicked, the pager links look like http://example.com/Projects-Dash?tabset=0&page=2&tabset=0, where
tabset=0 is repeated. At least the links from the second paged table are somewhat different, looking like this http://example.com/Projects-Dash?tabset=1&page=1%2C1&tabset=0, but they still have that extra
tabset=0 at the end.
How do I prevent that?