fix: b30 table query

This commit is contained in:
283375 2023-08-26 23:56:27 +08:00
parent ec790fba41
commit e341b788fa

View File

@ -28,7 +28,7 @@ class DbB30TableModel(DbTableModel):
self.__items.clear()
results = self._db.conn.execute(
'SELECT * FROM calculated ORDER BY "potential" DESC LIMIT 40'
'SELECT * FROM calculated GROUP BY "potential" ORDER BY "potential" DESC LIMIT 40'
).fetchall()
songIds = [r[0] for r in results]