aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces/web
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/web')
-rw-r--r--interfaces/web/templates/base.html4
-rw-r--r--interfaces/web/web.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/interfaces/web/templates/base.html b/interfaces/web/templates/base.html
index 8f22d73..9666d3e 100644
--- a/interfaces/web/templates/base.html
+++ b/interfaces/web/templates/base.html
@@ -90,7 +90,9 @@
<ul class="filter-items">
<li><a href="/?assignee=None">Unassigned</a></li>
{% for assignee in assignees %}
- <li><a href="/?assignee={{ assignee|e }}">{{ assignee|e }}</a></li>
+ {% if assignee != "None" %}
+ <li><a href="/?assignee={{ assignee|e }}">{{ assignee|e }}</a></li>
+ {% endif %}
{% endfor %}
</ul>
</div>
diff --git a/interfaces/web/web.py b/interfaces/web/web.py
index 9284c29..b04c6e7 100644
--- a/interfaces/web/web.py
+++ b/interfaces/web/web.py
@@ -63,7 +63,7 @@ class WebInterface:
bugs = [bug for bug in self.bd if bug.status in status]
if assignee != '':
- assignee = EMPTY if assignee == 'None' else assignee
+ assignee = None if assignee == 'None' else assignee
bugs = [bug for bug in bugs if bug.assigned == assignee]
if target != '':