Order changed

This commit is contained in:
Gerrit Linnemann 2019-04-13 11:41:45 +02:00
parent d183cdef9b
commit f4b4c47305
2 changed files with 1 additions and 1 deletions

View File

@ -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;

View File

Before

Width:  |  Height:  |  Size: 631 KiB

After

Width:  |  Height:  |  Size: 631 KiB