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')
|
.selectFrom('blurbs')
|
||||||
.selectAll()
|
.selectAll()
|
||||||
.where('verified', '=', 1)
|
.where('verified', '=', 1)
|
||||||
.orderBy('time', "asc")
|
.orderBy('time', "desc")
|
||||||
.execute();
|
.execute();
|
||||||
res.render('blurbs/index', { data });
|
res.render('blurbs/index', { data });
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue