Forum

Thread tagged as: Question

Can I display a relationship column in the "edit" screen for a collection?

Here's my template:

<perch:related id="church" collection="Churches" label="Parish"></perch:related>
<perch:content id="description" type="text" label="Description/Project name" title="true"  />
<perch:categories id="activity_type" set="activity-type" label="Activity Type" required="true" />
<perch:categories id="area_of_concern" set="area-of-concern" label="Area of concern" required="true" />
<perch:content id="beneficiaries" type="text" label="Beneficiaries" />
<perch:content id="volunteers" type="text" label="Volunteers" />
<perch:content id="notes" type="text" label="Notes" />
<perch:categories id="area" set="areas-geographical" label="Area" required="true" />
<perch:content id="parish_name" type="text" label="Parish Name" />
<perch:categories id="borough" set="boroughs" label="Borough" required="true" />
<perch:content id="church_size" type="text" label="Church Size" />
<perch:content id="status" type="select" label="Status" options="Active|active,Archived|archived" default="Active" />

Under "Colection Options" I have the following in Item list column IDs:

_title, church, activity_type, area_of_concern, description,  status

Is there a way to get it to display the church/parish? At the moment, it shows the correct column heading, but a blank column.

Paul Bell

Paul Bell 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Not currently, no.

OK - any chance of this being added in the short-medium term? Otherwise, it's not immediately obvious which item I want to edit (some have duplicate descriptions). It's slightly misleading that the column is listed as available in the (helpful) list of field ids in collection options.

I guess this is linked to my other question about the slugs.

Drew McLellan

Drew McLellan 2638 points
Perch Support

I'll see if we can look at it for 2.9.

That would be awesome. Thanks.