Ticket #1410 (closed enhancement: fixed)
[PATCH] Allow pagination of multiple variables
|Reported by:||beef||Owned by:||faide|
This patch allows pagination of multiple variables, simply by using the @paginate decorator multiple times on a particular controller. It maintains backwards compatibility with previous code, but introduces a new template variable: tg.paginates
This is a dictionary, indexed by variable name, which contains Paginate instances for all the paginated variables.
One can then use tg.paginatessome_var_name? in the same way that tg.paginate was previously used.
- Owner changed from anonymous to faide
- Status changed from new to assigned