zotero-citationcounts icon indicating copy to clipboard operation
zotero-citationcounts copied to clipboard

Call Number field

Open JSDSG opened this issue 3 years ago • 3 comments

Currently, Zotero beta has a special field called "Call Number " for the number of citations, which might be a better field to store.

JSDSG avatar Jun 29 '21 15:06 JSDSG

+1! I agree. Is there a hack to temporarily do this?

welpdx avatar Nov 10 '21 01:11 welpdx

Ok so I just did a quick hack to get the number in the Call Number field.

What I did: I turned the .xpi file to a zip. I went to "chrome\content\scripts\zoterocitationcounts.js" and I added item.setField('callNumber', count); below line 58. This adds the count to the Call Number category.

I rezipped the file and uploaded here so you can download. Or just do what I just described.

I'm new to github so I don't know how to make, is it a push request?

welpdx avatar Nov 10 '21 01:11 welpdx

Sorry for so many extra comments.

Anyway, feel free to check out my repo. You can download the latest release here.

It still puts the data in Extras field but it also puts the cite count in the callNumber field so you can sort by times cited. There's some extra features I added as well.

welpdx avatar Nov 14 '21 00:11 welpdx