Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call Number field #11

Open
JSDSG opened this issue Jun 29, 2021 · 3 comments
Open

Call Number field #11

JSDSG opened this issue Jun 29, 2021 · 3 comments

Comments

@JSDSG
Copy link

JSDSG commented Jun 29, 2021

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

@welpdx
Copy link

welpdx commented Nov 10, 2021

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

@welpdx
Copy link

welpdx commented Nov 10, 2021

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
Copy link

welpdx commented Nov 14, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants