You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the demo, I'm trying to create this column on articles
[
// n-n relationship (with pivot table)
'label' => "Tags", // Table column heading
'type' => "select_multiple",
'name' => 'tags', // the method that defines the relationship in your Model
'entity' => 'tags', // the method that defines the relationship in your Model
'attribute' => "name", // foreign key attribute that is shown to user
'model' => "Backpack\NewsCRUD\app\Models\Tag", // foreign key model
]
works well on a normal table, but, when you enable ajaxTable it doesn't work.
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tags' in 'field list' (SQL: select `date` as `date`, `status` as `status`, `title` as `title`, `featured` as `featured`, `category_id` as `category_id`, `tags` as `tags`, `id` as `id` from `articles` order by `date` asc limit 25 offset 0)
The text was updated successfully, but these errors were encountered:
Thank you for the bug, I can confirm that n-n relationship columns don't seem to work on the AjaxDataTable. I'll look for a solution and get back to you.
On the demo, I'm trying to create this column on articles
works well on a normal table, but, when you enable ajaxTable it doesn't work.
The text was updated successfully, but these errors were encountered: