sort descending. got it
This commit is contained in:
parent
72517d886f
commit
6da070f7ac
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -99,7 +99,7 @@ app.get('/blurbs', async (req, res) => {
|
|||
.selectFrom('blurbs')
|
||||
.selectAll()
|
||||
.where('verified', '=', 1)
|
||||
.orderBy('time', "asc")
|
||||
.orderBy('time', "desc")
|
||||
.execute();
|
||||
res.render('blurbs/index', { data });
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue