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

filtering bibliography entries doesn't work #191

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

slemcke
Copy link

@slemcke slemcke commented Nov 8, 2021

Filtering bibliography entries doesn't work, if they are numbers or if the entries are in lists with subelements.
fixed filter functionality -> see commit message

eval_list did not work -> Object.entries is now used to access the subentries
comparing numbers in eval_spec did not work -> added string conversion if entry is a number
@larsgw
Copy link
Collaborator

larsgw commented Nov 8, 2021

I think changes should go in the files in https://github.com/Juris-M/citeproc-js/tree/master/src, citeproc.js is built from those files.

@slemcke
Copy link
Author

slemcke commented Nov 8, 2021

Thanks for the hint. I have moved the changes into src/api_bibliography.js

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

Successfully merging this pull request may close these issues.

2 participants