From 2f28174eb0c83923661c681e47a1c98a6e9cd34a Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Mon, 10 Sep 2012 11:25:40 +0000 Subject: [PATCH] Bugfix: The new hascitation filter does not show in the list svn: r20356 --- src/Filters/Rules/Citation/_HasCitation.py | 1 + src/Filters/Rules/Citation/__init__.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Filters/Rules/Citation/_HasCitation.py b/src/Filters/Rules/Citation/_HasCitation.py index 9ab78a8e4..ab2b18431 100644 --- a/src/Filters/Rules/Citation/_HasCitation.py +++ b/src/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): diff --git a/src/Filters/Rules/Citation/__init__.py b/src/Filters/Rules/Citation/__init__.py index c2772be70..36ce27825 100644 --- a/src/Filters/Rules/Citation/__init__.py +++ b/src/Filters/Rules/Citation/__init__.py @@ -44,6 +44,7 @@ from _MatchesSourceFilter import MatchesSourceFilter from _RegExpIdOf import RegExpIdOf editor_rule_list = [ + HasCitation, AllCitations, ChangedSince, CitationPrivate,