]> git.mxchange.org Git - mailer.git/commitdiff
Fix for non-working ordering (pages are not yet supported, but may follow)
authorRoland Häder <roland@mxchange.org>
Sun, 21 Oct 2012 15:49:19 +0000 (15:49 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 21 Oct 2012 15:49:19 +0000 (15:49 +0000)
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)) {