From 12eaebbe091f226112c323734615de686116aafe Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Wed, 8 Feb 2012 11:45:51 +0000 Subject: [PATCH] Only claim a document is on the agenda if it is on the schedule for a current or future telechat - Legacy-Id: 3909 --- ietf/doc/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/doc/proxy.py b/ietf/doc/proxy.py index d66d613c6..4fc1a5b05 100644 --- a/ietf/doc/proxy.py +++ b/ietf/doc/proxy.py @@ -336,7 +336,7 @@ class InternetDraft(Document): @property def agenda(self): e = self.latest_event(TelechatDocEvent, type="scheduled_for_telechat") - return bool(e and e.telechat_date) + return bool(e and e.telechat_date and e.telechat_date >= datetime.date.today()) #cur_state = models.ForeignKey(IDState, db_column='cur_state', related_name='docs') @property