Permalink
Browse files

Merge pull request #52 from annttu/topic/hotfix

fixed sorting keys
  • Loading branch information...
2 parents de55850 + 80b10d3 commit c93c708216b7b7116914460e4a9c9b597b889c25 @annttu annttu committed Dec 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 membership/templatetags/sorturl.py
@@ -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']
}

0 comments on commit c93c708

Please sign in to comment.