item.numAttachments incorrectly returning trashed attachments
I'm writing a plugin and noticed that whenever I call item.numAttachments(false) on a Zotero.item, it includes attachments in the trash too. Presumably this is what the argument i passed is supposed to prevent...
am i doing something wrong or is this a bug?
-Keith
am i doing something wrong or is this a bug?
-Keith
Is there a better way to do this? I briefly considered just renaming the file in the storage directory and updating the filename in the database, but I wasn't sure if that would lead to database problems, or even syncing problems (i don't use the sync function).
Thanks,
Keith