From 3c5d154b434ea8b3b520187a516bd1c7b1b09845 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 21 Oct 2012 15:49:19 +0000 Subject: [PATCH] Fix for non-working ordering (pages are not yet supported, but may follow) --- inc/mysql-manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 5ddcf36369..bbd60234bd 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -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)) { -- 2.39.2