summaryrefslogtreecommitdiff
path: root/app/gtd
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-11-15 17:30:28 -0500
committerluxagraf <sng@luxagraf.net>2023-11-15 17:30:28 -0500
commit153fe98be7de3b6fe5990f7d221906f53b8b93d0 (patch)
tree18c2afbe9483204c0adf502ded0e578937b60edf /app/gtd
parentf2b520cf184b0e98f09b3e175c20563026a18b9e (diff)
gtd: bug fixes
Diffstat (limited to 'app/gtd')
-rw-r--r--app/gtd/views.py3
1 files changed, 1 insertions, 2 deletions
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)