Implementing sort by number on queries

This commit is contained in:
Deluan
2016-03-02 23:20:17 -05:00
parent 757e1992d7
commit 1f31de589a
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func (r *artistIndexRepository) Get(id string) (*domain.ArtistIndex, error) {
func (r *artistIndexRepository) GetAll() ([]domain.ArtistIndex, error) {
var indices = make([]domain.ArtistIndex, 0)
err := r.loadAll(&indices, "")
err := r.loadAll(&indices, "", true)
return indices, err
}