5775: ID reorder tool doesn't update citation IDs
reapplied from gramps34
This commit is contained in:
committed by
Vassilii Khachaturov
parent
6286d938d3
commit
15062a2d0f
@@ -125,6 +125,16 @@ class ReorderIds(tool.BatchTool):
|
|||||||
db.source_map,
|
db.source_map,
|
||||||
db.commit_source,
|
db.commit_source,
|
||||||
db.source_prefix)
|
db.source_prefix)
|
||||||
|
if uistate:
|
||||||
|
self.progress.set_pass(_('Reordering Citation IDs'),
|
||||||
|
db.get_number_of_citations())
|
||||||
|
self.reorder(gen.lib.Citation,
|
||||||
|
db.get_citation_from_gramps_id,
|
||||||
|
db.get_citation_from_handle,
|
||||||
|
db.find_next_citation_gramps_id,
|
||||||
|
db.citation_map,
|
||||||
|
db.commit_citation,
|
||||||
|
db.citation_prefix)
|
||||||
if uistate:
|
if uistate:
|
||||||
self.progress.set_pass(_('Reordering Place IDs'),
|
self.progress.set_pass(_('Reordering Place IDs'),
|
||||||
db.get_number_of_places())
|
db.get_number_of_places())
|
||||||
|
Reference in New Issue
Block a user