fixes #2279 sort list of dates by array key

for creation and posted date
This commit is contained in:
HWFord 2024-11-15 15:26:55 +01:00
parent d0fafcfc13
commit 4124a858f6

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);
}