Commit 2c42848cc96e8d5f3572f60c439a80df38588874
1 parent
cb04d56e
Exists in
master
and in
39 other branches
Minor fix on accounts search indexes
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/accounts/search_indexes.py
| ... | ... | @@ -30,8 +30,8 @@ class UserIndex(indexes.SearchIndex, indexes.Indexable): |
| 30 | 30 | return 'date_joined' |
| 31 | 31 | |
| 32 | 32 | def prepare_description(self, obj): |
| 33 | - return u'{}\n{}\n{}\n{}\n{}\n{}'.format( | |
| 34 | - obj.institution, obj.role, obj.username, obj.get_full_name(), | |
| 33 | + return u'{}\n{}\n{}\n{}'.format( | |
| 34 | + obj.institution, obj.role, obj.username, obj.get_full_name() | |
| 35 | 35 | ) |
| 36 | 36 | |
| 37 | 37 | def prepare_icon_name(self, obj): | ... | ... |