Order changed
This commit is contained in:
parent
d183cdef9b
commit
f4b4c47305
@ -48,7 +48,7 @@ exports.getItem = function(identifier, callback) {
|
||||
}
|
||||
|
||||
exports.getItemList = function(callback) {
|
||||
const sql = `SELECT * FROM items i ORDER BY i.order DESC`
|
||||
const sql = `SELECT * FROM items i ORDER BY i.order ASC`
|
||||
|
||||
pool.query(sql, function (error, results, fields) {
|
||||
if (error) throw error;
|
||||
|
||||
|
Before Width: | Height: | Size: 631 KiB After Width: | Height: | Size: 631 KiB |
Loading…
x
Reference in New Issue
Block a user