mirror of
https://github.com/krateng/maloja.git
synced 2025-04-23 20:10:27 +03:00
Prefer real scrobbles in case of artist chart tie
This commit is contained in:
parent
436b40821a
commit
1f1a65840c
@ -1075,7 +1075,7 @@ def count_scrobbles_by_artist(since,to,associated=True,resolve_ids=True,dbconn=N
|
||||
DB['scrobbles'].c.timestamp.between(since,to)
|
||||
).group_by(
|
||||
artistselect
|
||||
).order_by(sql.desc('count'))
|
||||
).order_by(sql.desc('count'),sql.desc('really_by_this_artist'))
|
||||
result = dbconn.execute(op).all()
|
||||
|
||||
if resolve_ids:
|
||||
|
Loading…
x
Reference in New Issue
Block a user