* src/DataViews/_NoteView.py: Enable filter editor
* src/FilterEditor/_FilterEditor.py: Note Filter Editor * src/FilterEditor/_EditRule.py: Note Filter Editor * src/Filters/Rules/Note/_HasNote.py: Rename label * src/Filters/Rules/Note/__init__.py: Add more rules * src/Filters/Rules/__init__.py: Add Note Rules svn: r8232
This commit is contained in:
@@ -45,7 +45,7 @@ class HasNote(Rule):
|
||||
|
||||
|
||||
labels = [ _('Text:'),
|
||||
_('Type:'),
|
||||
_('Note type:'),
|
||||
]
|
||||
name = _('Notes matching parameters')
|
||||
description = _("Matches Notes with particular parameters")
|
||||
|
||||
@@ -29,8 +29,8 @@ __author__ = "Don Allingham"
|
||||
from _AllNotes import AllNotes
|
||||
from _HasIdOf import HasIdOf
|
||||
from _RegExpIdOf import RegExpIdOf
|
||||
#from _HasNoteRegexp import HasNoteRegexp
|
||||
#from _HasNoteMatchingSubstringOf import HasNoteMatchingSubstringOf
|
||||
from _HasNoteRegexp import HasNoteRegexp
|
||||
from _HasNoteMatchingSubstringOf import HasNoteMatchingSubstringOf
|
||||
from _NotePrivate import NotePrivate
|
||||
from _MatchesFilter import MatchesFilter
|
||||
from _HasNote import HasNote
|
||||
@@ -39,8 +39,9 @@ editor_rule_list = [
|
||||
AllNotes,
|
||||
HasIdOf,
|
||||
RegExpIdOf,
|
||||
# HasNoteRegexp,
|
||||
# HasNoteMatchingSubstringOf,
|
||||
HasNote,
|
||||
HasNoteRegexp,
|
||||
HasNoteMatchingSubstringOf,
|
||||
NotePrivate,
|
||||
MatchesFilter,
|
||||
]
|
||||
|
||||
@@ -43,3 +43,4 @@ import Source
|
||||
import Place
|
||||
import MediaObject
|
||||
import Repository
|
||||
import Note
|
||||
|
||||
Reference in New Issue
Block a user