Changeset 3718
- Timestamp:
- 11/19/07 04:07:47 (1 year ago)
- Files:
-
- branches/1.0/CHANGELOG.txt (modified) (1 diff)
- branches/1.0/turbogears/paginate.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/CHANGELOG.txt
r3716 r3718 28 28 and synonyms' attributes. It also supports SQLAlchemy 0.4.1, which 29 29 removed the "properties" accessor on Mapper. 30 * Tickets #1605. Ensure paginate links bring the same result when using 31 ordering columns with a custom datagrid template. 30 32 31 33 32 34 *Contributors* 33 35 34 Joel Pearson, Christoph Zwerschke, Roger Demetrescu 36 Joel Pearson, Christoph Zwerschke, Roger Demetrescu, Juan Germano 35 37 36 38 1.0.4b2 (October, 27, 2007): branches/1.0/turbogears/paginate.py
r3716 r3718 321 321 # to break the API. 322 322 order = order or None 323 self.input_values[self.var_name + '_tgp_no'] = page 323 input_values = self.input_values.copy() 324 input_values[self.var_name + '_tgp_no'] = page 324 325 if order: 325 self.input_values[self.var_name + '_tgp_order'] = order326 327 return turbogears.url('', self.input_values)326 input_values[ self.var_name + '_tgp_order'] = order 327 328 return turbogears.url('', input_values) 328 329 329 330 def _select_pages_to_show(current_page, page_count, max_pages):