diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 31dc5958a..8449128bf 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2005-03-23 Martin Hawlisch + * src/RelLib.py: Added self.get_date() to get_text_data_child_list(). + This way the date is searchable in the full-text search filter. + 2005-03-23 Alex Roitman * src/RelLib.py (PrivacyBase): Add base class for privacy capabilities; (PrivateSourceNote): Inherits from SourceNote and PrivacyBase; diff --git a/gramps2/src/RelLib.py b/gramps2/src/RelLib.py index 9428d8631..3bf0e1282 100644 --- a/gramps2/src/RelLib.py +++ b/gramps2/src/RelLib.py @@ -1980,7 +1980,7 @@ class Event(PrimaryObject,PrivateSourceNote,MediaBase,DateBase): @return: Returns the list of all textual attributes of the object. @rtype: list """ - return [self.description,self.name,self.cause] + return [self.description,self.name,self.cause,self.get_date()] def get_text_data_child_list(self): """ @@ -2515,7 +2515,7 @@ class MediaObject(PrimaryObject,SourceNote,DateBase,AttributeBase): @return: Returns the list of all textual attributes of the object. @rtype: list """ - return [self.path,self.mime,self.desc] + return [self.path,self.mime,self.desc,self.get_date()] def get_text_data_child_list(self): """ @@ -2790,7 +2790,7 @@ class LdsOrd(SourceNote,DateBase): @return: Returns the list of all textual attributes of the object. @rtype: list """ - return [self.temple] + return [self.temple,self.get_date()] def get_text_data_child_list(self): """ @@ -3233,7 +3233,7 @@ class Address(PrivateSourceNote,DateBase): @rtype: list """ return [self.street,self.city,self.state,self.country, - self.postal,self.phone] + self.postal,self.phone,self.get_date()] def get_text_data_child_list(self): """ @@ -3341,7 +3341,7 @@ class Name(PrivateSourceNote,DateBase): @rtype: list """ return [self.first_name,self.surname,self.suffix,self.title, - self.type,self.prefix,self.patronymic] + self.type,self.prefix,self.patronymic,self.get_date()] def get_text_data_child_list(self): """ @@ -3722,7 +3722,7 @@ class SourceRef(BaseObject,DateBase,PrivacyBase): @return: Returns the list of all textual attributes of the object. @rtype: list """ - return [self.page,self.text] + return [self.page,self.text,self.get_date()] def get_text_data_child_list(self): """