Skip to content

Commit

Permalink
Merge pull request #52 from annttu/topic/hotfix
Browse files Browse the repository at this point in the history
fixed sorting keys
  • Loading branch information
annttu committed Dec 31, 2012
2 parents de55850 + 80b10d3 commit c93c708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions membership/templatetags/sorturl.py
Expand Up @@ -8,13 +8,13 @@ def __init__(self, field):
self.sort_cycles = {
u'id': [u'id', u'-id'],
u'status': [u'status', u'-status'],
u'name': [u'name', u'-lastname', u'name', u'lastname'],
u'name': [u'name', u'-last_name', u'name', u'last_name'],
u'payer_name': [u'payer_name', u'-payer_name'],
u'amount': [u'amount', u'-amount'],
u'reference_number': [u'reference_number', u'-reference_number'],
u'billingcycle': [u'billingcycle', u'-billingcycle'],
u'comment': [u'comment', u'-comment'],
u'cycle': [u'start', u'stop'],
u'cycle': [u'start', u'end'],
u'sum': [u'sum', u'-sum'],
u'due_date': [u'bill__due_date', u'-bill__due_date']
}
Expand Down

0 comments on commit c93c708

Please sign in to comment.