Sort the citation handles to keep the files idempotent (compare easily)
svn: r20098
This commit is contained in:
@ -285,7 +285,7 @@ class GrampsXmlWriter(UpdateCallback):
|
||||
|
||||
if citation_len > 0:
|
||||
self.g.write(" <citations>\n")
|
||||
for handle in self.db.get_citation_handles():
|
||||
for handle in sorted(self.db.get_citation_handles()):
|
||||
citation = self.db.get_citation_from_handle(handle)
|
||||
self.write_citation(citation,2)
|
||||
self.update()
|
||||
|
Reference in New Issue
Block a user