add sort direction
1 unresolved thread
1 unresolved thread
added a sort direction to the sort (by adding a minus sign in front of the sortfield)
Merge request reports
Activity
requested review from @mancini
136 136 137 137 # if a &sort=<field> url parameter is given then use sort, otherwise omit it (backward compatibility) 138 138 if sort: 139 if sort[0]=='-': 140 direction = -1 141 sort = sort[1:] 142 else: 143 direction = 1 mentioned in commit 96264e32
Please register or sign in to reply