Fix Custom Link Order to ASC instead of DESC as well

This commit is contained in:
johnnyq 2024-10-10 16:53:31 -04:00
parent ab1c5ac631
commit e37df8bf4b
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@
<?php
$sql_custom_links = mysqli_query($mysqli, "SELECT * FROM custom_links WHERE custom_link_location = 1 AND custom_link_archived_at IS NULL
ORDER BY custom_link_order DESC, custom_link_name ASC"
ORDER BY custom_link_order ASC, custom_link_name ASC"
);
while ($row = mysqli_fetch_array($sql_custom_links)) {

View File

@ -31,7 +31,7 @@
<!--Custom Nav Link -->
<?php
$sql_custom_links = mysqli_query($mysqli, "SELECT * FROM custom_links WHERE custom_link_location = 2 AND custom_link_archived_at IS NULL
ORDER BY custom_link_order DESC, custom_link_name ASC"
ORDER BY custom_link_order ASC, custom_link_name ASC"
);
while ($row = mysqli_fetch_array($sql_custom_links)) {