Fix pagination
This commit is contained in:
parent
f6c518fd8b
commit
eae46d15bf
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ func artistFilter(field string, value interface{}) Sqlizer {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *albumRepository) CountAll(options ...model.QueryOptions) (int64, error) {
|
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) {
|
func (r *albumRepository) Exists(id string) (bool, error) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue