mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-15 03:30:39 +03:00
Removed empty clause
This commit is contained in:
parent
c42e1bd2f5
commit
6cd758faa0
@ -89,7 +89,7 @@ func (r *searchableRepository) doSearch(table string, q string, offset, size int
|
||||
if len(q) <= 2 {
|
||||
return nil
|
||||
}
|
||||
sq := squirrel.Select("*").From(table).OrderBy()
|
||||
sq := squirrel.Select("*").From(table)
|
||||
sq = sq.Limit(uint64(size)).Offset(uint64(offset))
|
||||
if len(orderBys) > 0 {
|
||||
sq = sq.OrderBy(orderBys...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user