forked from science-ation/science-ation
Sort the list of years in the report generator screen
This commit is contained in:
parent
6db3c8ef37
commit
3880628596
@ -112,7 +112,7 @@
|
||||
echo "</select></td></tr>";
|
||||
}
|
||||
/* 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 "<tr><td><b>".i18n('Year')."</b>:</td>";
|
||||
echo "<td><select name=\"year\" id=\"year\">";
|
||||
while($i = mysql_fetch_assoc($q)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user