(cp 4124a858f) fixes #2279 sort list of dates by array key

This commit is contained in:
HWFord 2024-11-15 15:29:23 +01:00
parent 7271633858
commit b92a8b3f2b

View file

@ -214,6 +214,7 @@ SELECT
}
}
}
krsort($date_posted['list_of_dates']);
$template->assign('LIST_DATE_POSTED', $date_posted['list_of_dates']);
$template->assign('DATE_POSTED', $counters);
@ -317,6 +318,8 @@ SELECT
}
}
}
krsort($date_created['list_of_dates']);
$template->assign('LIST_DATE_CREATED', $date_created['list_of_dates']);
$template->assign('DATE_CREATED', $counters);
}