(self)
| 53 | |
| 54 | @property |
| 55 | def sorts(self): |
| 56 | sort = [] |
| 57 | for value in self.getlist("sort"): |
| 58 | direction = self.SORT_DEFAULT |
| 59 | if ":" in value: |
| 60 | value, direction = value.rsplit(":", 1) |
| 61 | if direction in self.SORTS: |
| 62 | sort.append((value, direction)) |
| 63 | return sort |
| 64 | |
| 65 | @property |
| 66 | def items(self): |