From 2c42848cc96e8d5f3572f60c439a80df38588874 Mon Sep 17 00:00:00 2001 From: Luan Date: Fri, 18 Oct 2013 10:32:39 -0300 Subject: [PATCH] Minor fix on accounts search indexes --- src/accounts/search_indexes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/accounts/search_indexes.py b/src/accounts/search_indexes.py index af4b2f4..0b59b06 100644 --- a/src/accounts/search_indexes.py +++ b/src/accounts/search_indexes.py @@ -30,8 +30,8 @@ class UserIndex(indexes.SearchIndex, indexes.Indexable): return 'date_joined' def prepare_description(self, obj): - return u'{}\n{}\n{}\n{}\n{}\n{}'.format( - obj.institution, obj.role, obj.username, obj.get_full_name(), + return u'{}\n{}\n{}\n{}'.format( + obj.institution, obj.role, obj.username, obj.get_full_name() ) def prepare_icon_name(self, obj): -- libgit2 0.21.2