Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3 from a-musing-moose/correct_transfer_view

reference is now a string not an int
  • Loading branch information...
commit 6ce55088d88baed1b2cdb447d13123aff7b00237 2 parents 6ecb2fe + a7ebc7b
@a-musing-moose a-musing-moose authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  accounts/dashboard/views.py
View
2  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']
Please sign in to comment.
Something went wrong with that request. Please try again.