From 1e5b37a1b6bbc785c57f01147de7b58095fcbe07 Mon Sep 17 00:00:00 2001 From: Walamana Date: Tue, 5 Dec 2017 16:16:26 +0100 Subject: [PATCH] ministrant ids fix Signed-off-by: Walamana --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 7856e88..d05024a 100644 --- a/app.js +++ b/app.js @@ -157,7 +157,7 @@ app.get("/ministranten", (req, res) =>{ var attachToMini = function(mini, pos, then){ mini.registered = []; - con.query("SELECT * FROM `" + mini.Name.toLowerCase() + "` LIMIT 0 , 30", (err, data) => { + con.query("SELECT * FROM `" + mini.Name.toLowerCase() + "` DESC LIMIT 0 , 30", (err, data) => { if(data == null){ then(mini, pos); }