|
Hello, I've created a view, with a textbox and a TimeRangePicker. I use those values on a HiddenSearch, and then several HiddenPostProcess, each one with a panel with a chart and a table. The problem I have is with the paginators for those tables. The number of pages seems to be computed for the HiddenSearch, not for each HiddenPostProcess, so every panel has the same number of pages, but only a few pages have actual content. I'll paste some xml code, please let me know if you find some mistake:
|
|
Im afraid this is a known problem. The Paginator module is unable to account for the postProcess filtering. In other words it renders the page links as though there was no postProcess - as though you wanted to page through the unfiltered set (of events or results). One could make a module that's a subclass of the Paginator, that knows to make a special check using a postProcess search of
Then it would take the 'count' field that came back and use that as it's "total". I looked into implementing this for the Discover app and it's doable. However this would involve changing a bunch of the Paginator's logic to have that extra asynchronous step. I/we need this in several places as well so Im sure someone will get around to writing this class before too long. Sorry that I/we havent already. UPDATE: Sideview Utils provides a module called Pager which has the same behavior as Paginator except that it is not subject to this bug. If you download and install the Sideview Utils on your system you'll be able to switch over to using Pager instead of Paginator. Ok, it'll be great to have this fix done. Anyway, the view is usable, although I'll have to notice people about this issue. Thanks for your reply.
(08 Sep '10, 13:52)
hbazan
|
|
This is now possible with the From the
Thanks for this!
(25 Aug '11, 12:03)
rroberts
Yep. thanks Lowell for bumping up this question again. Pager lives.
(25 Aug '11, 22:56)
nick ♦
|
