mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-02 00:01:41 +02:00
Fix Sorting in List view
This commit is contained in:
@ -75,7 +75,9 @@ def create_list_view():
|
|||||||
stmt = text("""CREATE OR REPLACE VIEW `Liste` AS
|
stmt = text("""CREATE OR REPLACE VIEW `Liste` AS
|
||||||
SELECT Name, Title, Artist, entries.Id AS entry_ID, songs.Id AS song_ID, entries.Transferred
|
SELECT Name, Title, Artist, entries.Id AS entry_ID, songs.Id AS song_ID, entries.Transferred
|
||||||
FROM entries, songs
|
FROM entries, songs
|
||||||
WHERE entries.Song_Id=songs.Id""")
|
WHERE entries.Song_Id=songs.Id
|
||||||
|
ORDER BY entries.Id ASC
|
||||||
|
""")
|
||||||
conn.execute(stmt)
|
conn.execute(stmt)
|
||||||
conn.commit()
|
conn.commit()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user