This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

cydrick.nonog
cydrick.nonog

I'm creating many to many relation. My problem is listing all related data that also the pivot value are displayed in the list.

cydrick.nonog
cydrick.nonog

Hi just solved this problem.

daftspunky
daftspunky

Why don't you share how you solved it so others can learn? =)

cydrick.nonog
cydrick.nonog
cydrick.nonog

Solution. Just edit your YAML file.

columns:
  id:
    label: ID
    searchable: true
  name:
    label: Name
    searchable: true
  order:
    label: order
    select: author_plugin_table.thepivotcolumn 

the order column was the pivot column

Last updated

1-5 of 5

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.