From 76eb648fc995324af0c54e92c9d97748cbab4539 Mon Sep 17 00:00:00 2001 From: alex_t_king Date: Mon, 8 Sep 2003 04:44:40 +0000 Subject: [PATCH] alphabetized category drop down list git-svn-id: http://svn.automattic.com/wordpress/trunk@358 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- b2-include/b2functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2-include/b2functions.php b/b2-include/b2functions.php index 9fdd644416..2c4caec5df 100644 --- a/b2-include/b2functions.php +++ b/b2-include/b2functions.php @@ -568,7 +568,7 @@ function profile($user_login) { function dropdown_categories($blog_ID=1, $default=1) { global $postdata,$tablecategories,$mode,$querycount, $wpdb; - $query="SELECT * FROM $tablecategories"; + $query="SELECT * FROM $tablecategories ORDER BY cat_name"; $results = $wpdb->get_results($query); ++$querycount; $width = ($mode=="sidebar") ? "100%" : "170px";