Fix pagination

This commit is contained in:
Deluan 2020-07-28 18:01:53 -04:00 committed by Deluan Quintão
parent f6c518fd8b
commit eae46d15bf

@ -72,7 +72,7 @@ func artistFilter(field string, value interface{}) Sqlizer {
}
func (r *albumRepository) CountAll(options ...model.QueryOptions) (int64, error) {
return r.count(r.selectAlbum(options...))
return r.count(r.selectAlbum(), options...)
}
func (r *albumRepository) Exists(id string) (bool, error) {