From ae953c5c20a6cc95abe9a187c922d104edbc8b20 Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Wed, 12 Apr 2006 12:45:25 -0400 Subject: Hide closed using display:None --- Bugs-Everywhere-Web/beweb/templates/bugs.kid | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Bugs-Everywhere-Web/beweb/templates/bugs.kid b/Bugs-Everywhere-Web/beweb/templates/bugs.kid index 376e77b..da2915a 100644 --- a/Bugs-Everywhere-Web/beweb/templates/bugs.kid +++ b/Bugs-Everywhere-Web/beweb/templates/bugs.kid @@ -16,9 +16,7 @@ def row_class(bug, num): def match(bug, show_closed, search): - if not show_closed and not bug.active: - return False - elif search is None: + if search is None: return True else: return search.lower() in bug.summary.lower() @@ -29,6 +27,12 @@ def match(bug, show_closed, search): Bugs for $project_name + -- cgit