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