3
I’d like to stop displaying by date and decreasing and make it display randomly or as I know it - randomly.
below the excerpt I have to modify from the php file:
public function getNewReleases() {
return Album::with('artist', 'tracks')
->join('artists', 'artists.id', '=', 'albums.artist_id')
->orderBy('release_date', 'desc')
->limit(40)
->select('albums.*')
->get();
}
}
There is no missing tag ?
– Isac
i just need to change that stretch - ->orderby('release_date', 'desc') already put it growing and it worked, but wanted it random this information =)
– jhonatan santos
My answer helped you?
– durtto
@durtto didn’t work no
– jhonatan santos