1.4.23 Supprime tri par défaut

This commit is contained in:
Fred Tempez 2024-02-08 19:43:31 +01:00
parent fcee5a8cde
commit 931b56f6a3
2 changed files with 2 additions and 3 deletions

View File

@ -1149,7 +1149,7 @@ class course extends common
self::$userHistory[] = [ self::$userHistory[] = [
$pages[$pageId]['number'], $pages[$pageId]['number'],
html_entity_decode($pages[$pageId]['title']), html_entity_decode($pages[$pageId]['title']),
helper::dateUTF8('%d %B %Y', $time), helper::dateUTF8('%d/%m/%Y', $time),
helper::dateUTF8('%H:%M', $time) helper::dateUTF8('%H:%M', $time)
]; ];
$floorTime = isset($floorTime) && $floorTime < $time ? $floorTime : $time; $floorTime = isset($floorTime) && $floorTime < $time ? $floorTime : $time;
@ -1161,7 +1161,7 @@ class course extends common
self::$userHistory[] = [ self::$userHistory[] = [
$pages[$pageId]['number'], $pages[$pageId]['number'],
html_entity_decode($pages[$pageId]['title']), html_entity_decode($pages[$pageId]['title']),
helper::dateUTF8('%d %B %Y', $times), helper::dateUTF8('%d/%m/%Y', $times),
helper::dateUTF8('%H:%M', $times) helper::dateUTF8('%H:%M', $times)
]; ];
$floorTime = isset($floorTime) && $floorTime < $times ? $floorTime : $times; $floorTime = isset($floorTime) && $floorTime < $times ? $floorTime : $times;

View File

@ -17,7 +17,6 @@ $(document).ready((function () {
language: { language: {
url: "core/vendor/datatables/french.json" url: "core/vendor/datatables/french.json"
}, },
order: [[0, 'asc']],
locale: 'fr', locale: 'fr',
searching: false, searching: false,
pageLength: 100, pageLength: 100,