Track selection dialog bugfix

If multiple tracks had the name name, only one would be listed.
This commit is contained in:
Keith Edmunds 2023-10-05 13:49:52 +01:00
parent bb700d26f1
commit f3a5ed2e72

View File

@ -728,7 +728,6 @@ class Tracks(Base):
select(cls)
.options(joinedload(Tracks.playdates))
.where(cls.title.like(f"{text}%"))
.group_by(cls.title)
.order_by(cls.title)
)
.scalars()