# HG changeset patch # User Sylvain Thénault # Date 1275387541 -7200 # Node ID cfa9a776d99a1e08273d1db94abf0132e1d848a8 # Parent 37b31a7b8e743bf9858e4930bf54dbad3cd86706 [navigation] when there are to much results, use a , + better when there are a lot of results. + """ + __select__ = paginated_rset(4) + + page_link_templ = u'' + selected_page_link_templ = u'' + def call(self): + params = dict(self._cw.form) + self.clean_params(params) + basepath = self._cw.relative_path(includeparams=False) + w = self.w w(u'') - def index_display(self, start, stop): - return u'%s - %s' % (start+1, stop+1) - class SortedNavigation(NavigationComponent): """sorted navigation apply if navigation is needed (according to page size)