nova-inline-relationship icon indicating copy to clipboard operation
nova-inline-relationship copied to clipboard

Use default Nova behaviour for index column when setting BelongsTo relationship

Open victorsfleite opened this issue 6 years ago • 2 comments

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

victorsfleite avatar Dec 16 '19 22:12 victorsfleite

@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 avatar Dec 17 '19 01:12 navneetrai

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

navneetrai avatar Dec 17 '19 01:12 navneetrai