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

TP2000-1443 Fix MultipleObjectsReturned error on Footnote measures tab #1261

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

dalecannon
Copy link
Contributor

TP2000-1443 Fix MultipleObjectsReturned error on Footnote measures tab

Why

An uncaught MultipleObjectsReturned exception is raised on the measures tab of the footnote detail view if a footnote has multiple versions.

What

  • Chains current() to the queryset to get the latest version of the footnote

@dalecannon dalecannon marked this pull request as ready for review July 11, 2024 14:29
@dalecannon dalecannon requested a review from a team as a code owner July 11, 2024 14:29
@dalecannon dalecannon merged commit 096ff84 into master Jul 11, 2024
8 checks passed
@dalecannon dalecannon deleted the TP2000-1443--fix-queryset-footnote-measures-tab branch July 11, 2024 14:42
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