#86: This causes some issue with Postgres. Commenting for now

This commit is contained in:
Josef Citrine 2016-07-05 01:40:55 +01:00
parent ccb05bb958
commit 7b521f5733

View file

@ -203,8 +203,8 @@ class Playlist extends Model implements Searchable, Commentable, Favouritable
return $this
->belongsToMany(Track::class)
->withPivot('position')
->withTimestamps()
->orderBy('position', 'asc');
->withTimestamps();
//->orderBy('position', 'asc');
}
public function trackFiles()
@ -227,7 +227,7 @@ class Playlist extends Model implements Searchable, Commentable, Favouritable
{
return $this->hasMany(PinnedPlaylist::class);
}
public function favourites():HasMany {
return $this->hasMany(Favourite::class);
}