mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-09 15:02:14 +05:30
HTML: Sort playlists alphabetically in watch page drop down
This commit is contained in:
parent
e319c35f09
commit
b795bdf2a4
@ -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})
|
||||||
|
Loading…
Reference in New Issue
Block a user