mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-09 19:52:16 +00:00
parent
b25e943e4e
commit
1b0cc54581
@ -41,7 +41,7 @@ def old_search():
|
||||
if offset + count > fcount:
|
||||
toff = max(0, offset - fcount)
|
||||
tend = offset + count - fcount
|
||||
res += tracks[toff : tend]
|
||||
res = res[:] + tracks[toff : tend][:]
|
||||
|
||||
return request.formatter('searchResult', dict(
|
||||
totalHits = folders.count() + tracks.count(),
|
||||
|
Loading…
Reference in New Issue
Block a user