From 3880628596a2e716fccf52d08864d4bd9eff2990 Mon Sep 17 00:00:00 2001 From: james Date: Mon, 9 Mar 2009 16:50:58 +0000 Subject: [PATCH] Sort the list of years in the report generator screen --- admin/reports_gen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/reports_gen.php b/admin/reports_gen.php index 39f9723e..7de9166d 100644 --- a/admin/reports_gen.php +++ b/admin/reports_gen.php @@ -112,7 +112,7 @@ echo ""; } /* Find all the years */ - $q = mysql_query("SELECT DISTINCT year FROM config WHERE year>1000"); + $q = mysql_query("SELECT DISTINCT year FROM config WHERE year>1000 ORDER BY year DESC"); echo "".i18n('Year').":"; echo "