Track selection dialog bugfix
If multiple tracks had the name name, only one would be listed.
This commit is contained in:
parent
bb700d26f1
commit
f3a5ed2e72
@ -728,7 +728,6 @@ class Tracks(Base):
|
|||||||
select(cls)
|
select(cls)
|
||||||
.options(joinedload(Tracks.playdates))
|
.options(joinedload(Tracks.playdates))
|
||||||
.where(cls.title.like(f"{text}%"))
|
.where(cls.title.like(f"{text}%"))
|
||||||
.group_by(cls.title)
|
|
||||||
.order_by(cls.title)
|
.order_by(cls.title)
|
||||||
)
|
)
|
||||||
.scalars()
|
.scalars()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user