mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 14:56:01 +00:00
Fix 500 error when char_index contains None key from NULL ROM names
Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
10bcd12183
commit
54dc059e15
@@ -955,6 +955,7 @@ class DBRomsHandler(DBBaseHandler):
|
||||
session.query(
|
||||
subquery.c.letter, func.min(subquery.c.position - 1).label("position")
|
||||
)
|
||||
.filter(subquery.c.letter.isnot(None))
|
||||
.group_by(subquery.c.letter)
|
||||
.order_by(subquery.c.letter)
|
||||
.all()
|
||||
|
||||
Reference in New Issue
Block a user