From: quix0r Date: Thu, 17 Jan 2013 01:57:55 +0000 (+0000) Subject: Fixed sorting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b70715173f6a76ed3c03adceba8bd795a13e40cc;p=mailer.git Fixed sorting --- diff --git a/inc/modules/admin/what-stats_mods.php b/inc/modules/admin/what-stats_mods.php index e274aae5e3..07ac5d2177 100644 --- a/inc/modules/admin/what-stats_mods.php +++ b/inc/modules/admin/what-stats_mods.php @@ -49,7 +49,7 @@ if ((getRequestElement('mod') == 'index') || (getRequestElement('mod') == 'login $mod = mapModuleToTable(getRequestElement('mod')); // Load module's detail statistic - $result = SQL_QUERY_ESC("SELECT `action`, `title`, `counter` FROM `{?_MYSQL_PREFIX?}_%s_menu` WHERE `what` != '' AND `what` IS NOT NULL ORDER BY `counter` DESC", + $result = SQL_QUERY_ESC("SELECT `action`, `title`, `counter` FROM `{?_MYSQL_PREFIX?}_%s_menu` WHERE `what` != '' AND `what` IS NOT NULL ORDER BY `counter` DESC, `action` ASC, `sort` ASC", array($mod), __FILE__, __LINE__); $OUT = ''; while ($content = SQL_FETCHARRAY($result)) {