Add link to document in primaryKey
This commit is contained in:
parent
68e2dcca94
commit
4020a3a614
1 changed files with 8 additions and 1 deletions
|
|
@ -37,7 +37,14 @@
|
|||
@name={{capitalize @model.index.primaryKey}}
|
||||
@prop={{@model.index.primaryKey}}
|
||||
@sortable={{includes @model.index.primaryKey @model.sortableAttributes}}
|
||||
/>
|
||||
>
|
||||
<LinkTo
|
||||
@route='admin.indexes.item.documents.document'
|
||||
@model={{get data @model.index.primaryKey}}
|
||||
>
|
||||
{{get data @model.index.primaryKey}}
|
||||
</LinkTo>
|
||||
</Column>
|
||||
{{#each-in @model.stats.fieldDistribution as |field|}}
|
||||
{{#if (not-eq field @model.index.primaryKey)}}
|
||||
<Column
|
||||
|
|
|
|||
Loading…
Reference in a new issue