mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
Reverse sorted links list to show newers first
This commit is contained in:
parent
5d09892ec1
commit
0f058724f3
@ -92,6 +92,7 @@ uploadsController.list = function(req, res){
|
||||
else
|
||||
this.where('albumid', req.params.id)
|
||||
})
|
||||
.sort('id', 'DESC')
|
||||
.then((files) => {
|
||||
db.table('albums').then((albums) => {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user