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

Fix "actions" on ModelViews with composite primary keys #1493

Merged
merged 1 commit into from
Oct 25, 2020

Commits on Oct 22, 2020

  1. Fix "actions" on ModelViews with composite primary keys

    The refactor in dpgaspar#1398 changes the `get()` function, and mistakenly
    always applied the PK filter, even in the case of composite keys.
    
    (The else block of `if self.is_pk_composite` applied it again, so it was
    actually applying the same filter twice, which didn't break anything,
    but was not needed)
    ashb committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    82f77ae View commit details
    Browse the repository at this point in the history