fix: Show all adoption nitices

This commit is contained in:
moanos [he/him] 2024-03-20 10:35:13 +01:00
parent 29667c86b9
commit 96c82ef8e5

View File

@ -26,7 +26,7 @@ def animal_detail(request, animal_id):
def search(request):
latest_adoption_list = AdoptionNotice.objects.order_by("-created_at")[:5]
latest_adoption_list = AdoptionNotice.objects.order_by("-created_at")
context = {"adoption_notices": latest_adoption_list}
return render(request, 'fellchensammlung/search.html', context=context)