About page updates.

refs  #128
This commit is contained in:
softsimon
2020-10-09 13:56:43 +07:00
parent ba315648be
commit a8a1f4e976
7 changed files with 29 additions and 23 deletions

View File

@@ -93,7 +93,7 @@ class Donations {
async $getDonationsFromDatabase() {
try {
const connection = await DB.pool.getConnection();
const query = `SELECT handle, imageUrl FROM donations WHERE handle != '' ORDER BY id ASC`;
const query = `SELECT handle, imageUrl FROM donations WHERE handle != '' ORDER BY id DESC`;
const [rows] = await connection.query<any>(query);
connection.release();
return rows;