0005735: Custom Source filter missing. Citation filter was not using 'page' and source filter was not using 'Abbreviation'.
svn: r19981
This commit is contained in:
parent
e61df51701
commit
e106cfb7ad
@ -48,6 +48,7 @@ class HasSource(HasSourceBase):
|
||||
|
||||
labels = [ _('Title:'),
|
||||
_('Author:'),
|
||||
_('Abbreviation:'),
|
||||
_('Publication:') ]
|
||||
name = _('Sources matching parameters')
|
||||
description = _("Matches citations with a source of a particular "
|
||||
|
@ -931,7 +931,7 @@ class ShowResults(ManagedWindow):
|
||||
gid = source.get_gramps_id()
|
||||
elif self.namespace == 'Citation':
|
||||
citation = self.db.get_citation_from_handle(handle)
|
||||
name = citation.get_title()
|
||||
name = citation.get_page()
|
||||
gid = citation.get_gramps_id()
|
||||
elif self.namespace == 'Place':
|
||||
place = self.db.get_place_from_handle(handle)
|
||||
@ -965,7 +965,7 @@ class ShowResults(ManagedWindow):
|
||||
elif self.namespace == 'Source':
|
||||
sortname = self.db.get_source_from_handle(handle).get_title()
|
||||
elif self.namespace == 'Citation':
|
||||
sortname = self.db.get_citation_from_handle(handle).get_title()
|
||||
sortname = self.db.get_citation_from_handle(handle).get_page()
|
||||
elif self.namespace == 'Place':
|
||||
sortname = self.db.get_place_from_handle(handle).get_title()
|
||||
elif self.namespace == 'Media':
|
||||
|
Loading…
Reference in New Issue
Block a user