OK, so I wanted to delete the citations that were first added . After perusing the plugin I think I have found the necessary correction in this snippet
Code: Select all
for pcite in childitem(pfact,'SOUR') do
i = i + 1
pfSource = fhGetValueAsLink(pcite)
table.insert(tblDups,{rec=pcite:Clone(),id=fhGetRecordId(pfSource)})
end
table.sort(tblDups,function(a, b) return a.id > b.id end)
Code: Select all
table.insert(tblDups,1,{rec=pcite:Clone(),id=fhGetRecordId(pfSource)})
I would appreciate some input as to whether this will produce unwanted side effects.
David