Permalink
Browse files

reference is now a string not an int

  • Loading branch information...
1 parent 6ecb2fe commit a7ebc7b07918fc21ec450f822c0894b03f4dea06 Jonathan Moss committed Nov 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 accounts/dashboard/views.py
@@ -226,7 +226,7 @@ def get_queryset(self):
'date': "",
}
if data['reference']:
- queryset = queryset.filter(id=int(data['reference']))
+ queryset = queryset.filter(reference=data['reference'])
desc_ctx['reference'] = _(
" with reference '%s'") % data['reference']

0 comments on commit a7ebc7b

Please sign in to comment.