Citation dialog: Allow citing the same item multiple times

Removed as part of #3544 but it turns out there's good uses for it:
https://forums.zotero.org/discussion/111831/multiple-citations-of-the-same-source

The same item still won't appear multiple times in the Open Documents
section, but you can look for it in your Library or Cited section
This commit is contained in:
Adomas Venčkauskas 2024-02-15 08:47:50 +02:00
parent fbc82f687d
commit f548efde15

View file

@ -458,7 +458,7 @@ var Zotero_QuickFormat = new function () {
}
}
}
return citedItemsMatchingSearch.filter(i => !options.citationItemIDs.has(i.cslItemID ? i.cslItemID : i.id));
return citedItemsMatchingSearch;
}
}
@ -599,7 +599,6 @@ var Zotero_QuickFormat = new function () {
}
items.sort(Zotero_QuickFormat.citingNotes ? _noteSort : _itemSort);
items = items.filter(i => !options.citationItemIDs.has(i.cslItemID ? i.cslItemID : i.id));
// Split filtered items into selected and other bins
let matchingSelectedItems = [];