From: garvinhicking Date: Tue, 8 Aug 2006 13:30:51 +0000 (+0000) Subject: fix order by of categories in the footer X-Git-Tag: 1.1~148 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=54db74cd8484446e12c47068188125e8a74d2277;p=s9y.git fix order by of categories in the footer --- 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');