From 225a5d9b53c85f5104171252611483b60baf23c3 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Thu, 17 Oct 2013 20:43:39 -0300 Subject: [PATCH] Fixing typo into field name --- 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 c533fc9..7b5e06e 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 'last_message__received_time' + return 'latest_message__received_time' def prepare_author(self, obj): return obj.message_set.first().from_address.get_full_name() -- libgit2 0.21.2