From 153fe98be7de3b6fe5990f7d221906f53b8b93d0 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 15 Nov 2023 17:30:28 -0500 Subject: gtd: bug fixes --- app/gtd/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app') diff --git a/app/gtd/views.py b/app/gtd/views.py index 80527ac..41b00ad 100644 --- a/app/gtd/views.py +++ b/app/gtd/views.py @@ -185,8 +185,7 @@ class WiredPostTodoView(ListView): template_name = 'posts/post_table.html' def get_queryset(self): - qs = WiredPost.objects.filter(user=self.request.user) - qs = qs.filter(Q(needs_update=True) | Q(is_live=0)).exclude(post_status=1) + qs = WiredPost.objects.filter(Q(needs_update=True) | Q(is_live=0)).exclude(post_status=1) unsorted_results = qs.all() return sorted(unsorted_results, key=lambda a: a.days_overdue(), reverse=True) -- cgit v1.2.3-70-g09d2