Commit 06acd0103ff7638d02372c099ab91eced0b27d1a
1 parent
33f98592
Exists in
master
and in
39 other branches
Changed update field for threads
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/super_archives/search_indexes.py
| ... | ... | @@ -29,7 +29,7 @@ class ThreadIndex(indexes.SearchIndex, indexes.Indexable): |
| 29 | 29 | return Thread |
| 30 | 30 | |
| 31 | 31 | def get_updated_field(self): |
| 32 | - return 'received_time' | |
| 32 | + return 'last_message__received_time' | |
| 33 | 33 | |
| 34 | 34 | def prepare_author(self, obj): |
| 35 | 35 | return obj.message_set.first().from_address.get_full_name() | ... | ... |