refactor: add search back to albums and artists

This commit is contained in:
Deluan
2020-01-31 15:42:48 -05:00
committed by Deluan Quintão
parent d755609d13
commit 5a4c763510
3 changed files with 16 additions and 9 deletions
+1 -2
View File
@@ -34,8 +34,7 @@ func (r mediaFileRepository) Put(m *model.MediaFile) error {
if err != nil {
return err
}
r.index(m.ID, m.Title)
return nil
return r.index(m.ID, m.Title)
}
func (r mediaFileRepository) selectMediaFile(options ...model.QueryOptions) SelectBuilder {