mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 03:15:31 -04:00
Sort download jobs listed on the download manager by time
This commit is contained in:
parent
c355c67415
commit
4ba81b9ffe
@ -198,7 +198,7 @@ module MangaDex
|
||||
def get_all
|
||||
jobs = [] of Job
|
||||
DB.open "sqlite3://#{@path}" do |db|
|
||||
jobs = db.query_all "select * from queue", do |rs|
|
||||
jobs = db.query_all "select * from queue order by time", do |rs|
|
||||
Job.from_query_result rs
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user