Ensure ordering for custom fields
This commit is contained in:
parent
6ef9836c14
commit
ab6ed1e505
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ module.exports.list = (listId, callback) => {
|
|||
return callback(err);
|
||||
}
|
||||
|
||||
let query = 'SELECT * FROM custom_fields WHERE list=?';
|
||||
let query = 'SELECT * FROM custom_fields WHERE list=? ORDER BY id';
|
||||
connection.query(query, [listId], (err, rows) => {
|
||||
connection.release();
|
||||
if (err) {
|
||||
|
|
Loading…
Reference in a new issue