From 136438c5c5857ff72794b48e60c98d6b473c7a02 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Mon, 10 Sep 2012 11:28:06 +0000 Subject: [PATCH] bugfix: new hascitation filter does not show in the list svn: r20357 --- src/gen/filters/rules/citation/__init__.py | 1 + src/gen/filters/rules/citation/_hascitation.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/gen/filters/rules/citation/__init__.py b/src/gen/filters/rules/citation/__init__.py index 5b572dd8d..d3a55570a 100644 --- a/src/gen/filters/rules/citation/__init__.py +++ b/src/gen/filters/rules/citation/__init__.py @@ -44,6 +44,7 @@ from _matchessourcefilter import MatchesSourceFilter from _regexpidof import RegExpIdOf editor_rule_list = [ + HasCitation, AllCitations, ChangedSince, CitationPrivate, diff --git a/src/gen/filters/rules/citation/_hascitation.py b/src/gen/filters/rules/citation/_hascitation.py index 85895ff87..1799d1a84 100644 --- a/src/gen/filters/rules/citation/_hascitation.py +++ b/src/gen/filters/rules/citation/_hascitation.py @@ -50,6 +50,7 @@ class HasCitation(Rule): _('Date:'), _('Confidence level:')] name = _('Citations matching parameters') + category = _('General filters') description = _("Matches citations with particular parameters") def prepare(self, db):