diff gpp/forums/unread.py @ 420:c06d836c8b84

Fixing #210; forums unread status problems. Use the topic update_date instead of creation_date when selecting topics inside the tracked window.
author Brian Neal <bgneal@gmail.com>
date Wed, 20 Apr 2011 23:42:10 +0000
parents 7e0997b08b50
children
line wrap: on
line diff
--- a/gpp/forums/unread.py	Mon Apr 18 00:40:39 2011 +0000
+++ b/gpp/forums/unread.py	Wed Apr 20 23:42:10 2011 +0000
@@ -83,7 +83,7 @@
                         last_visit__lt=min_date).delete()
 
             topics = Topic.objects.filter(forum=forum,
-                    creation_date__gt=flv.begin_date)
+                    update_date__gt=flv.begin_date)
             tracked_topics = TopicLastVisit.objects.filter(
                     user=user,
                     topic__forum=forum,