diff --git a/core/module/course/course.php b/core/module/course/course.php index 3ff7e11..7c0ceb0 100644 --- a/core/module/course/course.php +++ b/core/module/course/course.php @@ -788,7 +788,6 @@ class course extends common $count = 0; foreach ($array as $key => $value) { $count++; // Incrémente le compteur pour chaque clé associative trouvée - if (is_array($value)) { $count += $this->countPages($value); // Appelle récursivement la fonction si la valeur est un tableau } diff --git a/core/module/course/view/user/user.js.php b/core/module/course/view/user/user.js.php index 894be05..d91a3b9 100644 --- a/core/module/course/view/user/user.js.php +++ b/core/module/course/view/user/user.js.php @@ -30,7 +30,14 @@ $(document).ready((function () { $('#dataTables').DataTable({ language: { - url: "core/vendor/datatables/french.json"} + url: "core/vendor/datatables/french.json" + }, + "columnDefs": [ + { + target: 5, + searchable: false + } + ] }); })); \ No newline at end of file diff --git a/core/module/course/view/user/user.php b/core/module/course/view/user/user.php index f9ee0b9..65ef228 100644 --- a/core/module/course/view/user/user.php +++ b/core/module/course/view/user/user.php @@ -18,7 +18,7 @@ -