Mercurial > public > sg101
changeset 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 (2011-04-20) |
parents | fc2feaa98c58 |
children | e06e866af4f1 |
files | gpp/forums/unread.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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,