kirschbaum-development / nova-inline-relationship

A package to present relationships as inline properties in Nova.
MIT License
198 stars 83 forks source link

Use default Nova behaviour for index column when setting BelongsTo relationship #33

Open victorsfleite opened 4 years ago

victorsfleite commented 4 years ago

When setting a BelongsTo relationship, instead of showing the count of related objects in the relationship column at the resource index page, it would be better to use the default Nova behaviour which shows the $title property of the related resource as a link to it's show page.

Nova-Inline-Relationship nova-inline-relationship

Default Nova behaviour: default-behaviour

navneetrai commented 4 years ago

@victorsfleite I would suggest using this for all singular relationships snd plural relationships with a single related item.

For plural relationships we can show the first model as more (+ X more). I believe someone has already suggested this in the past as well.

navneetrai commented 4 years ago

I think #7 is the one referring this same thing.