Modifications as suggested by Nick Hall:
* Remove inheritance of Citation from RefBase, using source_handle filed instead (similar to the way Family objects store mother and father handles) (also use the set_ and get_reference_handle functions more consistently) * Use get_citation_list instead of get_citation_references (more consistent with the way notes are handled) svn: r18100
This commit is contained in:
@ -374,7 +374,7 @@ class EditCitation(EditPrimary):
|
||||
self.db.commit_source(self.source, trans)
|
||||
msg = _("Edit Source (%s)") % self.source.get_title()
|
||||
|
||||
self.obj.ref = self.source.handle
|
||||
self.obj.set_reference_handle(self.source.handle)
|
||||
|
||||
# Now commit the Citation Primary object
|
||||
if not self.obj.get_handle():
|
||||
|
Reference in New Issue
Block a user