]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
Fix for non-working ordering (pages are not yet supported, but may follow)
[mailer.git] / inc / mysql-manager.php
index 5ddcf36369720afeffb55901dd9f5470a112a02e..bbd60234bdfc3dde0ad943b62b4e526358fff69b 100644 (file)
@@ -1918,7 +1918,7 @@ function doGenericListEntries ($tableTemplate, $rowTemplate, $noEntryMessageId,
                foreach ($orderByColumns as $orderByColumn => $array) {
                        // Get keys (table/alias) and values (sorting itself)
                        $table   = trim(implode('', array_keys($array)));
-                       $sorting = trim(implode('', array_keys($array)));
+                       $sorting = trim(implode('', array_values($array)));
 
                        // table/alias can be omitted
                        if (!empty($table)) {