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
Hi, guys! Your package is awesome. But I've got an error.
I have a model that should be orderable within BelongsTo and BelongsToMany relations at the same time.
So, my Nova resource uses Orderable, HasOrderablePivot. When I am going to page with BelongsTo relation I am getting an error:
Call to undefined method Illuminate\Database\Eloquent\Relations\HasMany::getPivotClass()
The fix is very easy, just to check the type of $realtion in HasOrderablePivot::orderedManyPivotModel()
Hi, guys! Your package is awesome. But I've got an error.
I have a model that should be orderable within
BelongsTo
andBelongsToMany
relations at the same time.So, my Nova resource uses
Orderable, HasOrderablePivot
. When I am going to page withBelongsTo
relation I am getting an error:The fix is very easy, just to check the type of
$realtion
inHasOrderablePivot::orderedManyPivotModel()
It works fine for me.
Waiting for your answer 😃
The text was updated successfully, but these errors were encountered: