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

Weekly release 2024-04-15 #768

Merged
merged 2 commits into from
Apr 15, 2024
Merged

Weekly release 2024-04-15 #768

merged 2 commits into from
Apr 15, 2024

Conversation

alycejenni
Copy link
Member

Records and images actually have a many-to-many relationship, but here it's been defined as a one-to-many; using the url as an id for the image was causing subsequent references to the same image to overwrite the previous record associations, so some records did not have any images. This also caused long loading times because the image would be requested for every record but only shown for the last.
Using an id that is unique to the resource, record, and image means that images are repeated but that's probably clearer anyway.
@alycejenni alycejenni merged commit 5df133f into main Apr 15, 2024
2 checks passed
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.

1 participant