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(generic): exclude subclasses from columns selector #1471

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

b1rger
Copy link
Contributor

@b1rger b1rger commented Dec 4, 2024

We don't want to list subclasses as model attribute in the column
selector in the list view, but they are part of the fields list. If the
model uses the InheritanceManager we can check in the subclasses
attribute if the field refers to a subclass and exclude those.

Closes: #1297

We don't want to list subclasses as model attribute in the column
selector in the list view, but they are part of the fields list. If the
model uses the InheritanceManager we can check in the `subclasses`
attribute if the field refers to a subclass and exclude those.

Closes: #1297
@b1rger b1rger marked this pull request as ready for review December 4, 2024 09:05
@b1rger b1rger requested a review from gythaogg December 4, 2024 09:05
Copy link
Contributor

@gythaogg gythaogg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works!

@b1rger b1rger merged commit 14dcb6f into main Dec 4, 2024
14 checks passed
@b1rger b1rger deleted the birger/1297-relations branch December 4, 2024 18:51
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.

[relations] Additional columns dropdown lists all relations classes
2 participants