Skip to content
Snippets Groups Projects
Commit 70505b0d authored by DELARUELLE Myriam's avatar DELARUELLE Myriam
Browse files

fix options

parent 1a2da444
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
define('NO_OUTPUT_BUFFERING', true); define('NO_OUTPUT_BUFFERING', true);
error_log(__DIR__);
require_once(__DIR__.'/../../../config.php'); require_once(__DIR__.'/../../../config.php');
//require_once('view/view_param_indicateur.php'); //require_once('view/view_param_indicateur.php');
require_once('entity/course_format_iena_section_ressources.php'); require_once('entity/course_format_iena_section_ressources.php');
...@@ -544,7 +543,7 @@ else if(isset($_POST['action']) && $_POST['action'] == 'search_student' && isset ...@@ -544,7 +543,7 @@ else if(isset($_POST['action']) && $_POST['action'] == 'search_student' && isset
$modules = get_activities($completion, $activesectionid); $modules = get_activities($completion, $activesectionid);
$data["modules"]=$modules; $data["modules"]=$modules;
$data["students"]=get_progress_student($sanitized, $completion, $modules); $data["students"]=get_progress_student($sanitized, $completion, $modules);
//$data = set_links($data, $modules, $listoptions); $data = set_links($data, $modules, $listoptions);
echo json_encode($data); echo json_encode($data);
} }
// If a post is sent trought the page --> Si on change les filtres (de groupes), le template est appelé en JS // If a post is sent trought the page --> Si on change les filtres (de groupes), le template est appelé en JS
...@@ -559,7 +558,7 @@ else if (isset($_POST['action']) && !empty($_POST['action'])) { ...@@ -559,7 +558,7 @@ else if (isset($_POST['action']) && !empty($_POST['action'])) {
$data["groups"]=$activegroupsids; $data["groups"]=$activegroupsids;
$data["courseid"]=$courseid; $data["courseid"]=$courseid;
//$data = set_links($data, $modules, $listoptions); $data = set_links($data, $modules, $listoptions);
echo json_encode($data); echo json_encode($data);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment