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

OpenURL bug: URL not updated for users when it's updated for an institution #76

Open
kelockhart opened this issue Jul 11, 2024 · 0 comments

Comments

@kelockhart
Copy link
Member

OpenURL setups are stored in the library table, with the institution name and OpenURL. When a user selects a library in their settings, the OpenURL is copied to their profile, in the user_data column (stored in the link_server key in the JSON blob) in the users table. If the OpenURL is updated in the library table, the corresponding URL in the users table is not updated, so the users are directed to the stale URL. This currently requires a SQL update directly to the table.

Ideally, the database schema would be adjusted so the URL itself isn't stored in user profiles, but a pointer to the correct item in the library table is stored instead.

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

1 participant