From 8d1acfb3314d9276f3c6d5fa9c64ac93c4052775 Mon Sep 17 00:00:00 2001 From: Chris Ball Date: Mon, 6 Sep 2010 18:35:19 -0400 Subject: cfbe: Fix assigned-to-None search --- interfaces/web/templates/base.html | 4 +++- interfaces/web/web.py | 2 +- 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 @@ diff --git a/interfaces/web/web.py b/interfaces/web/web.py index 4d922e2..44bdef1 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 != '': -- cgit