feat: show all ANs to be checked, not only active ones

This commit is contained in:
2024-10-26 08:52:59 +02:00
parent 0e67b777b5
commit c1e3248cc8
2 changed files with 11 additions and 1 deletions

View File

@@ -470,7 +470,7 @@ def updatequeue(request):
last_checked_adoption_list = AdoptionNotice.objects.order_by("last_checked")
else:
last_checked_adoption_list = AdoptionNotice.objects.filter(owner=request.user).order_by("last_checked")
adoption_notices = [adoption for adoption in last_checked_adoption_list if adoption.is_active]
adoption_notices = [adoption for adoption in last_checked_adoption_list if adoption.is_active or adoption.is_to_be_checked]
context = {"adoption_notices": adoption_notices}
return render(request, 'fellchensammlung/updatequeue.html', context=context)