diff options
| author | Greg Roach <fisharebest@gmail.com> | 2013-09-11 20:37:42 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2013-09-11 20:37:42 +0100 |
| commit | d270c07af0b738d6e82b9d272c16b070b9a938e9 (patch) | |
| tree | 9b826ce9196ac3de9fcc83bd1a1e7ce9fc03c642 /includes | |
| parent | c8050a2f8c30ec68d09f2ac3975e8fd401e73b49 (diff) | |
| download | webtrees-d270c07af0b738d6e82b9d272c16b070b9a938e9.tar.gz webtrees-d270c07af0b738d6e82b9d272c16b070b9a938e9.tar.bz2 webtrees-d270c07af0b738d6e82b9d272c16b070b9a938e9.zip | |
#1219391 - Todays events module sort order
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/functions/functions_print_lists.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_print_lists.php b/includes/functions/functions_print_lists.php index e3abacd612..ab9c7c74ed 100644 --- a/includes/functions/functions_print_lists.php +++ b/includes/functions/functions_print_lists.php @@ -1830,7 +1830,7 @@ function print_events_list($startjd, $endjd, $events='BIRT MARR DEAT', $only_liv switch ($sort_by) { case 'anniv': uasort($filtered_events, function($x, $y) { - return WT_Date::compare($x->getDate(), $y->getDate()); + return WT_Date::compare($y->getDate(), $x->getDate()); // most recent first }); break; case 'alpha': |
