* src/RelLib.py (Source.get_text_data_child_list,
Family.get_text_data_child_list): Add missing lists. * src/GenericFilter.py (FullTextSearch): Correct description. * src/GenericFilter.py (FullTextSearch): Added new filter that provides a full-text search thru (nearly) all attributes and linked objects of a person. svn: r4185
This commit is contained in:
parent
86c6d36e8f
commit
8315acf6d4
@ -1,3 +1,8 @@
|
||||
2005-03-15 Alex Roitman <shura@gramps-project.org>
|
||||
* src/RelLib.py (Source.get_text_data_child_list,
|
||||
Family.get_text_data_child_list): Add missing lists.
|
||||
* src/GenericFilter.py (FullTextSearch): Correct description.
|
||||
|
||||
2005-03-15 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
|
||||
* src/Makefile.am : Added TreeTip.py to list of installed modules.
|
||||
* src/TreeTip.py: New module that implements tooltips on TreeView rows.
|
||||
@ -7,8 +12,8 @@
|
||||
* src/plugins/scratchpad.glade: New glade file for ScratchPad window.
|
||||
|
||||
2005-03-15 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/GenericFilter.py (FullTextSearch): Added new filter thad provides
|
||||
a full-text search thru (nearly) all attributes and linked objexts of a person.
|
||||
* src/GenericFilter.py (FullTextSearch): Added new filter that provides
|
||||
a full-text search thru (nearly) all attributes and linked objects of a person.
|
||||
* src/gramps_main.py: add the new filter to the menu.
|
||||
* src/RelLib.py (Event,Source): fix get_text_data_child_list() to correct
|
||||
attributes of the class; (Family): fix get_sourcref_child_list().
|
||||
|
@ -1853,7 +1853,7 @@ class FullTextSearch(Rule):
|
||||
return 'Full-text serach for ...'
|
||||
|
||||
def description(self):
|
||||
return _("Does a full-text search in all text values of the verson and all linked events and families")
|
||||
return _("Matches persons whose records contain text matching a substring")
|
||||
|
||||
def category(self):
|
||||
return _('General filters')
|
||||
|
@ -1307,7 +1307,8 @@ class Family(PrimaryObject,SourceNote):
|
||||
"""
|
||||
check_list = [self.lds_seal,self.note]
|
||||
add_list = [item for item in check_list if item]
|
||||
return self.media_list + self.attribute_list + add_list
|
||||
return self.media_list + self.attribute_list + \
|
||||
self.source_list + add_list
|
||||
|
||||
def get_sourcref_child_list(self):
|
||||
"""
|
||||
@ -2501,7 +2502,7 @@ class Source(PrimaryObject):
|
||||
@return: Returns the list of child objects that may carry textual data.
|
||||
@rtype: list
|
||||
"""
|
||||
check_list = []
|
||||
check_list = self.media_list
|
||||
if self.note:
|
||||
check_list.append(self.note)
|
||||
return check_list
|
||||
|
Loading…
Reference in New Issue
Block a user