prewikka/master: Make sure Inline filter default value is positionned correctly
[email protected] Tue, 30 Jun 2009 10:22:01 +0200 (CEST)
| Newsgroups | gmane.comp.security.ids.prelude.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 853b42537d256971983cb62ece6fe34b66879075 Author: Yoann Vandoorselaere <[email protected]> Date: Fri Jun 26 17:39:49 2009 +0200 Make sure Inline filter default value is positionned correctly Correctly set default filter value to __all__, otherwise the inline filter default value might not be positionned correctly. ======================================== prewikka/views/alertlisting.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ======================================== diff --git a/prewikka/views/alertlisting.py b/prewikka/views/alertlisting.py index bae59c3..2ebc534 100644 --- a/prewikka/views/alertlisting.py +++ b/prewikka/views/alertlisting.py @@ -930,7 +930,7 @@ class AlertListing(MessageListing, view.View): def _applyFiltersForCategory(self, criteria, type): if not self.parameters[type]: - self.dataset[type] = [ ("", "", "") ] + self.dataset[type] = [ ("__all__", "", "") ] return # If one object is specified more than one time, and since this object _______________________________________________ Prelude-cvslog site list [email protected] http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog