client: implement a buggy scrollIntoView in queue view

This commit is contained in:
geoffrey45
2021-12-26 18:45:35 +03:00
parent 5884827c8b
commit 17f29a76ed
6 changed files with 81 additions and 23 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class AllSongs(Mongo):
return self.collection.find().limit(25)
def find_songs_by_folder(self, query):
return self.collection.find({'folder': query})
return self.collection.find({'folder': query}).sort('title', pymongo.ASCENDING)
def find_songs_by_folder_og(self, query):
return self.collection.find({'folder': query})