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
I have these tables: coffees, roast_types, green_beans.
In the Coffee model I have these relationships:
public function roast_type()
{
return $this->belongsTo(RoastType::class);
}
public function green_bean()
{
return $this->belongsTo(GreenBean::class);
}
Did you ever get sorting worting for a relationship, I'm facing the same thing and my table is just turning up empty whenever I sort by a relationship?
Hello,
Thank you for this package.
I do have some issues though.
I have these tables: coffees, roast_types, green_beans.
In the Coffee model I have these relationships:
In the CoffeeTable component I have this query:
and these columns:
I have 2 problems:
When I click on sorting the Roast Type column the values in the Name column change to the Roast type name instead of the Coffee name.
When I click on sorting the Green Bean column, I get this error:
Missing required parameter for [Route: coffees.edit] [URI: coffees/{coffee}/edit] [Missing parameter: coffee]. (View: C:\wamp64\www\highland8.local\resources\views\admin\coffee\table_actions.blade.php)
What am I doing wrong?
BTW, I added some functionality like in the jquery dropdown tables, to show:
Can you please help with my issues?
The text was updated successfully, but these errors were encountered: