From 7b795ac332c799b3583a660cea658e269888119d Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Sun, 6 Oct 2019 01:03:41 +0100 Subject: [PATCH] Fixed some bugs with search --- assets/templates/asset_list.html | 6 +++--- assets/views.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/templates/asset_list.html b/assets/templates/asset_list.html index 3d1ed407..e3854b58 100644 --- a/assets/templates/asset_list.html +++ b/assets/templates/asset_list.html @@ -8,7 +8,7 @@

Asset List

-
+ {% csrf_token %}
@@ -20,7 +20,7 @@ {% for name in statuses %} - {% if name == status_select %} + {% if name.name == status_select %}