From 4f4fd5d8ab9828cc4091b3773b7dbbf6b40b87d6 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 15 Nov 2023 17:59:09 -0500 Subject: gtd: fixed some more bugs --- app/gtd/templates/gtd/post_table.html | 2 +- app/gtd/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/gtd') diff --git a/app/gtd/templates/gtd/post_table.html b/app/gtd/templates/gtd/post_table.html index f6803fe..c9eb717 100644 --- a/app/gtd/templates/gtd/post_table.html +++ b/app/gtd/templates/gtd/post_table.html @@ -81,7 +81,7 @@ Date last pub 0False{%endif%} {{object.days_overdue}} - edit + edit {% endfor %}{% endif %} diff --git a/app/gtd/views.py b/app/gtd/views.py index 33c8bf1..06728f0 100644 --- a/app/gtd/views.py +++ b/app/gtd/views.py @@ -192,7 +192,7 @@ class WiredPostTodoView(ListView): def get_context_data(self, **kwargs): context = super(WiredPostTodoView, self).get_context_data(**kwargs) - context['reviews'] = WiredNote.objects.filter(plan__in=[1,2,3]).exclude(status=4) + context['reviews'] = WiredNote.objects.filter(plan__in=[1,2,3]).exclude(status__in=[4,5]) return context -- cgit v1.2.3-70-g09d2