From 000c2a3be41617042c0b72569542281e49be8066 Mon Sep 17 00:00:00 2001 From: Tim G L Lyons Date: Tue, 5 Jun 2012 18:26:17 +0000 Subject: [PATCH] 0005781: Errors with Merge Citations. Amended so it checks whether the first citation processed for a particular page/volume/confidence/date (as applicable) has notes. svn: r19763 --- src/plugins/tool/MergeCitations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/tool/MergeCitations.py b/src/plugins/tool/MergeCitations.py index bdd867c32..f166869c9 100644 --- a/src/plugins/tool/MergeCitations.py +++ b/src/plugins/tool/MergeCitations.py @@ -215,7 +215,7 @@ class MergeCitations(tool.BatchTool,ManagedWindow.ManagedWindow): "citation backlink handles", \ list(db.find_backlink_handles(citation.get_handle())) num_merges += 1 - else: + elif (not dont_merge_notes or len(citation.note_list) == 0): dict[key] = citation_handle self.progress.step() db.enable_signals()