Commit 96d7a53b5d75101a580ac1b7db1a956e150e7dbc
Committed by
Matheus Fernandes
1 parent
aa5f7fe1
Exists in
colab_search
Added date joined field in User index search
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
colab/accounts/search_indexes.py
... | ... | @@ -22,6 +22,7 @@ class UserIndex(indexes.SearchIndex, indexes.Indexable): |
22 | 22 | google_talk = indexes.CharField(model_attr='google_talk', null=True, |
23 | 23 | stored=False) |
24 | 24 | webpage = indexes.CharField(model_attr='webpage', null=True, stored=False) |
25 | + date_joined = indexes.DateTimeField(model_attr='date_joined') | |
25 | 26 | |
26 | 27 | def get_model(self): |
27 | 28 | return User | ... | ... |