Modifs final avant soutenances

This commit is contained in:
stiti 2024-06-18 18:40:41 +02:00
parent 4d2f592029
commit 8821bae1a9

View File

@ -295,7 +295,7 @@ class Model_music extends CI_Model {
} }
public function get_songs_by_artist($artist_id) { public function get_songs_by_artist($artist_id) {
$this->db->select('song.id as song_id'); $this->db->select('song.*');
$this->db->from('track'); $this->db->from('track');
$this->db->join('song', 'track.songid = song.id'); $this->db->join('song', 'track.songid = song.id');
$this->db->join('album', 'track.albumid = album.id'); $this->db->join('album', 'track.albumid = album.id');