mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2279 sort list of dates by array key
for creation and posted date
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user