admin menu filter and seller
This commit is contained in:
parent
6d3e9bf0ed
commit
bd3e0d5b4d
|
|
@ -45,6 +45,6 @@ class Menu extends TranslatableModel implements MenuContract
|
|||
|
||||
public function sellers():BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(VendorProxy::modelClass(),'seller_menus','seller_id');
|
||||
return $this->belongsToMany(VendorProxy::modelClass(),'seller_menus','menu_id','seller_id');
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue