From 54db74cd8484446e12c47068188125e8a74d2277 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Tue, 8 Aug 2006 13:30:51 +0000 Subject: [PATCH] fix order by of categories in the footer --- include/functions_entries.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/functions_entries.inc.php b/include/functions_entries.inc.php index f02031f..a4e4ae8 100644 --- a/include/functions_entries.inc.php +++ b/include/functions_entries.inc.php @@ -437,7 +437,8 @@ function serendipity_fetchEntryData(&$ret) { FROM {$serendipity['dbPrefix']}category AS c LEFT JOIN {$serendipity['dbPrefix']}entrycat AS ec ON ec.categoryid = c.categoryid - WHERE " . serendipity_db_in_sql('ec.entryid', $search_ids); + WHERE " . serendipity_db_in_sql('ec.entryid', $search_ids) . " + ORDER BY c.category_name DESC"; $search_ret =& serendipity_db_query($query, false, 'assoc'); -- 2.39.5