mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-12 21:30:34 +05:30
HTML: Sort playlists alphabetically in watch page drop down (#4853)
Closes issue 4708
This commit is contained in:
commit
c5fdd9ea65
@ -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