0005687: Can't delete a note, which is a citation.
svn: r19363
This commit is contained in:
parent
da3349ff55
commit
0515433985
@ -377,7 +377,7 @@ class DeleteNoteQuery(object):
|
|||||||
self.db.commit_source(source, trans)
|
self.db.commit_source(source, trans)
|
||||||
|
|
||||||
for handle in citation_list:
|
for handle in citation_list:
|
||||||
source = self.db.get_citation_from_handle(handle)
|
citation = self.db.get_citation_from_handle(handle)
|
||||||
citation.remove_note(note_handle)
|
citation.remove_note(note_handle)
|
||||||
self.db.commit_citation(citation, trans)
|
self.db.commit_citation(citation, trans)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user