diff --git a/gramps/plugins/tool/reorderids.py b/gramps/plugins/tool/reorderids.py index 5c772b9f5..f93b67f18 100644 --- a/gramps/plugins/tool/reorderids.py +++ b/gramps/plugins/tool/reorderids.py @@ -109,7 +109,7 @@ class ReorderIds(tool.BatchTool): self.reorder(Media, db.get_media_from_gramps_id, db.get_media_from_handle, - db.find_next_object_gramps_id, + db.find_next_media_gramps_id, db.media_map, db.commit_media, db.media_prefix)