From 06acd0103ff7638d02372c099ab91eced0b27d1a Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Thu, 17 Oct 2013 19:11:09 -0300 Subject: [PATCH] Changed update field for threads --- src/super_archives/search_indexes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/super_archives/search_indexes.py b/src/super_archives/search_indexes.py index e301ce1..c533fc9 100644 --- a/src/super_archives/search_indexes.py +++ b/src/super_archives/search_indexes.py @@ -29,7 +29,7 @@ class ThreadIndex(indexes.SearchIndex, indexes.Indexable): return Thread def get_updated_field(self): - return 'received_time' + return 'last_message__received_time' def prepare_author(self, obj): return obj.message_set.first().from_address.get_full_name() -- libgit2 0.21.2