Bare bones getMusicDirectory for albums!

This commit is contained in:
Deluan
2016-03-02 23:15:17 -05:00
parent 51bae19191
commit 757e1992d7
10 changed files with 146 additions and 15 deletions
+1 -1
View File
@@ -29,6 +29,6 @@ func (r *albumRepository) Get(id string) (*domain.Album, error) {
func (r *albumRepository) FindByArtist(artistId string) ([]domain.Album, error) {
var as = make([]domain.Album, 0)
err := r.loadChildren("artist", artistId, &as, "")
err := r.loadChildren("artist", artistId, &as, "Year")
return as, err
}