v1.4.7
🛠️ Fixes
issues:
- search problem when joining multiple tables #129
- more issues with ambiguous columns when using join #111
- fix action method on action #128
- exporting with join sortable.
good practices with join
- SortField and primaryKey values:
public string $sortField = 'dishes.id';
public string $primaryKey = 'dishes.id';
- Method addColumns:
->addColumn('dishes.name', function (Dish $dish) {
return $dish->name;
})
- Method columns;
Column::add()
->title(__('Name'))
->field('dishes.name')