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

[PICA] Fix multiples in SUDOC #1530

Merged
merged 2 commits into from Jan 26, 2018

Conversation

Projects
None yet
2 participants
@zuphilip
Collaborator

zuphilip commented Jan 26, 2018

see #1529

@zuphilip

This comment has been minimized.

Show comment
Hide comment
@zuphilip

zuphilip Jan 26, 2018

Collaborator

@symac @adomasven Please test if this works for you.

Collaborator

zuphilip commented Jan 26, 2018

@symac @adomasven Please test if this works for you.

@symac

This comment has been minimized.

Show comment
Hide comment
@symac

symac Jan 26, 2018

Contributor

Thanks @zuphilip this is almost perfect except that Library Catalog (PICA).js#587 needs to be changed from :
newUrl.replace(/sudoc\.abes\.fr\/\/?DB=/, 'sudoc.abes.fr/xslt/DB=');
to
newUrl = newUrl.replace(/sudoc\.abes\.fr\/\/?DB=/, 'sudoc.abes.fr/xslt/DB=');

otherwise the replacement is not affected anywhere, I spent some minutes trying to debug before noticing this obvious thing :) Thanks for the quick fix!

Contributor

symac commented Jan 26, 2018

Thanks @zuphilip this is almost perfect except that Library Catalog (PICA).js#587 needs to be changed from :
newUrl.replace(/sudoc\.abes\.fr\/\/?DB=/, 'sudoc.abes.fr/xslt/DB=');
to
newUrl = newUrl.replace(/sudoc\.abes\.fr\/\/?DB=/, 'sudoc.abes.fr/xslt/DB=');

otherwise the replacement is not affected anywhere, I spent some minutes trying to debug before noticing this obvious thing :) Thanks for the quick fix!

@zuphilip

This comment has been minimized.

Show comment
Hide comment
@zuphilip

zuphilip Jan 26, 2018

Collaborator

Thanks for the hint. Should be fixed now.

Collaborator

zuphilip commented Jan 26, 2018

Thanks for the hint. Should be fixed now.

@zuphilip zuphilip merged commit d936099 into zotero:master Jan 26, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@zuphilip zuphilip deleted the zuphilip:sudoc-1529 branch Jan 26, 2018

GuyAglionby added a commit to GuyAglionby/translators that referenced this pull request Jan 28, 2018

psisquared2 added a commit to psisquared2/translators that referenced this pull request Feb 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment