From e3777f10cdd72d789754251cceb088aa16c2d8b1 Mon Sep 17 00:00:00 2001 From: the_systech Date: Fri, 28 Dec 2001 19:55:27 +0000 Subject: [PATCH] Fix for bug #488041.. Forum ordering on Postgres git-svn-id: file:///svn/phpbb/trunk@1733 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/phpBB/index.php b/phpBB/index.php index 7d4e46d613..6b63ee40f8 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -164,7 +164,8 @@ if($total_categories = $db->sql_numrows($q_categories)) WHERE p.post_id = f.forum_last_post_id ) $limit_forums - )"; + ) + ORDER BY f.cat_id, f.forum_order"; break; case 'oracle': @@ -472,4 +473,4 @@ $template->pparse("body"); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); -?> \ No newline at end of file +?>