HTML: Sort playlists alphabetically in watch page drop down

This commit is contained in:
Samantaz Fox 2024-08-16 12:10:22 +02:00
parent e319c35f09
commit b795bdf2a4
No known key found for this signature in database
GPG Key ID: F42821059186176E

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})