# Grid - collection link display issue

**URL:** <https://discourse.getcockpit.com/t/grid-collection-link-display-issue/2588>\
**Category:** Support\
**Created:** [December 5, 2022, 4:59pm UTC](https://discourse.getcockpit.com/t/grid-collection-link-display-issue/2588 "2022-12-05T16:59:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janno](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@Janno](https://discourse.getcockpit.com/u/Janno)\
**Post date:** [December 5, 2022, 4:59pm UTC](https://discourse.getcockpit.com/t/grid-collection-link-display-issue/2588/1 "2022-12-05T16:59:49Z")

</div>

Hello community

I would like to ask you if someone has any idea why the grid is suddenly not showing configured display name for the collection link field type, but instead of its first few characters from the linked collection entry as a JSON Object string.

Previously it was working fine and after migrating a project to a new server, we are facing to this issue. It’s not related to only one collection but to all collections with collection link field types.

The same behavior is for single or multi relation.

Current value  
`[[{"_id":"60c16b18666338d37b000...]` or `{"_id":"60c16b18666338d37b000...`

Expectation/Previous value  
`Label` or number of related entries in the blue square

Cockpit version: 0.12.1

PS: it’s also really strange that exported data for collection is not possible to import on the same project. That relations for collection link field types are not possible to map. Provided list of related collection properties does not contain the `_id` property.

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![Janno](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@Janno](https://discourse.getcockpit.com/u/Janno)\
**Post date:** [December 7, 2022, 12:51pm UTC](https://discourse.getcockpit.com/t/grid-collection-link-display-issue/2588/2 "2022-12-07T12:51:36Z")

</div>

Screenshots for a better explanation of the current situation. It should display configured property value and not the JSON object.

![Screenshot 2022-12-07 at 13.48.36](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/2X/c/cf3959cec7399748cd0522c0ad0a8c78e49e741e.png)

For the _detail/edit view_, everything is fine. It displays configured property value of the linked collection entry.

Also in the collection entry, when using the JSON view, it seems fine.

e.g.

```auto
{
  ...  
  "is_active": true,
  "icon": "fa-warning",
  "bus_lines": [],
  "bus_stops": [
    {
      "_id": "602586e73434610789000342",
      "link": "bus_stops",
      "display": "Bus stop 1"
    },
    {
      "_id": "602586e7346135112a000243",
      "link": "bus_stops",
      "display": "Bus stop 2"
    },
    {
      "_id": "602586e763633284110000a6",
      "link": "bus_stops",
      "display": "Bus stop 3"
    },
    {
      "_id": "602586e7363364864b0002fa",
      "link": "bus_stops",
      "display": "Bus stop 4"
    }
  ],
  "_by": null,
  "_modified": 1670398955,
  ...
}

```

Only that **grid view** is somehow broken. And it’s related to all of the grid views not only to a specific one.
