diff --git a/wamtram2/templates/wamtram2/trtturtles_list.html b/wamtram2/templates/wamtram2/trtturtles_list.html index 72ce54f74..c82da1e46 100644 --- a/wamtram2/templates/wamtram2/trtturtles_list.html +++ b/wamtram2/templates/wamtram2/trtturtles_list.html @@ -5,7 +5,7 @@
- +
diff --git a/wamtram2/views.py b/wamtram2/views.py index aef138a70..e490e905d 100644 --- a/wamtram2/views.py +++ b/wamtram2/views.py @@ -544,7 +544,7 @@ def get_queryset(self): # General-purpose search uses the `q` parameter. if "q" in self.request.GET and self.request.GET["q"]: q = self.request.GET["q"] - qs = qs.filter(Q(pk__icontains=q) | Q(turtle_name__icontains=q) | Q(trttags__tag_id__icontains=q) | Q(trtpittags__pittag_id__icontains=q)).distinct() + qs = qs.filter(Q(pk__icontains=q) | Q(trttags__tag_id__icontains=q) | Q(trtpittags__pittag_id__icontains=q)).distinct() return qs.order_by("pk")