commit 0f070758966293834f4e37f0e1d2a2eebd2dbe4b
Author: Yoann Vandoorselaere <[email protected]>
Date: Tue May 19 11:50:30 2009 +0200
Rename _applyCheckboxFilters to _applyFiltersForCategory
The function name was misleading, since it apply to any inline filter.
========================================
prewikka/views/alertlisting.py | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
========================================
diff --git a/prewikka/views/alertlisting.py b/prewikka/views/alertlisting.py
index 5e3c6fc..b0d72c6 100644
--- a/prewikka/views/alertlisting.py
+++ b/prewikka/views/alertlisting.py
@@ -785,7 +785,7 @@ class AlertListing(MessageListing, view.View):
["other", "admin", "dos", "file", "recon", "user"])
- def _applyCheckboxFilters(self, criteria, type):
+ def _applyFiltersForCategory(self, criteria, type):
def get_string((object, operator, value)):
return "%s %s '%s'" % (object, operator, utils.escape_criteria(value))
@@ -820,12 +820,12 @@ class AlertListing(MessageListing, view.View):
self.dataset["%s_filtered" % type] = False
def _applyFilters(self, criteria):
- self._applyCheckboxFilters(criteria, "classification")
+ self._applyFiltersForCategory(criteria, "classification")
self._applyClassificationFilters(criteria)
- self._applyCheckboxFilters(criteria, "source")
- self._applyCheckboxFilters(criteria, "target")
- self._applyCheckboxFilters(criteria, "analyzer")
+ self._applyFiltersForCategory(criteria, "source")
+ self._applyFiltersForCategory(criteria, "target")
+ self._applyFiltersForCategory(criteria, "analyzer")
def _getMissingAggregatedInfos(self, message, path_value_hash, parameters, criteria2, aggregated_count):
_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.