HTML: Sort playlists alphabetically in watch page drop down (#4853)

Closes issue 4708
This commit is contained in:
Samantaz Fox 2024-08-24 20:50:46 +02:00
commit c5fdd9ea65
No known key found for this signature in database
GPG Key ID: F42821059186176E
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ module Invidious::Database::Playlists
request = <<-SQL request = <<-SQL
SELECT id,title FROM playlists SELECT id,title FROM playlists
WHERE author = $1 AND id LIKE 'IV%' WHERE author = $1 AND id LIKE 'IV%'
ORDER BY title
SQL SQL
PG_DB.query_all(request, email, as: {String, String}) PG_DB.query_all(request, email, as: {String, String})