-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
fieldsnew fields, displaying and editing datanew fields, displaying and editing datamodelsmodels, associations and fetching the underlying datamodels, associations and fetching the underlying data
Description
- What were you trying to do?
Hello, I have a dashboard that have multiple items in a collection. In the dashboard, I have this relation:
messages: Field::HasMany.with_options(sort_by: :created_at, direction: :desc)
My message class is an STI and only use child as real type. For example:
class Request < Message
Currently, in this display, each line isn't clickable because the class is Request instead of Message.
How can I make the STI subclass use the main class for all things related to Administrate (route, dashboard, etc).
- What versions are you running?
- Rails: 7.2.2.1
- administrate: 0.20.1
svobom57
Metadata
Metadata
Assignees
Labels
fieldsnew fields, displaying and editing datanew fields, displaying and editing datamodelsmodels, associations and fetching the underlying datamodels, associations and fetching the underlying data