If you are using listbuilder and portlets you are bound for trouble. Here is why:
- You can have multiple lists on one page. Sadly the listbuilder does not care which list you clicked on to resort the table, it will resort all tables on that page.
- Within .LRN the pages use a page_num to identify under which tab they are located. This variable needs to be passed through to all actions and all orderby statements.
The second problem can be solved by adding the page_num to the listbuilder (and the include, as well as the portlet code). But how do you solve the first one (without rewriting every single listbuilder portlet).