|Version 12 (modified by 13 years ago) ( diff ),|
Currently we do all pagination client-side which won't be possible to keep doing as we accumulate more data
This will be needed for:
fractalis has offered to look at this
- The Back-end is now done for HTML representation
- The Back-end needs doign for JSON representation
- The Front-end still needs doing
JSON Back-end implementation
Probably need to patch
HTML Back-end implementation
models\01_RESTlike_Controller to support
shn_list() ... if request.vars.limit: limit = int(request.vars.limit) if request.vars.page: page = int(request.vars.page) start = (page - 1) * limit stop = page * limit limitby = (start, stop) else: limitby = (0, limit) else: limitby = None ... items = crud.select(table, query=query, ... limitby=limitby, ... )
- Maybe look at the currently-unused
- pagenav in
models\01_RESTlike_Controllerseems unused currently...was an older implementation of a webgrid...can probably be removed.
Note: See TracWiki for help on using the wiki.