A lot of things
This commit is contained in:
@@ -9,6 +9,6 @@ trait HasGallery
|
||||
{
|
||||
public function gallery(): MorphMany
|
||||
{
|
||||
return $this->morphMany(Gallery::class, 'galleryable')->orderBy('id');
|
||||
return $this->morphMany(Gallery::class, 'galleryable')->orderBy('order')->orderBy('id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user