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 to pager_query() 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 this:
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:
However, as soon as a pager link is clicked, the pager links look like:
Notice that now tabset=0 is there twice? At least the links from the 2nd paged table are somewhat different, looking like this:
But they still have that extra tabset=0 at the end... how to prevent that?