Commit 1eee80af authored by Gerald Salin's avatar Gerald Salin
Browse files

download bug with no typo3 version

parent f8269aea
...@@ -61,7 +61,7 @@ class tx_nG6_eid { ...@@ -61,7 +61,7 @@ class tx_nG6_eid {
//error_log("tx_nG6_eid ".$type." \n ", 3, "/work/tmp/mes-erreurs.log"); //error_log("tx_nG6_eid ".$type." \n ", 3, "/work/tmp/mes-erreurs.log");
// If the type of data requested is project // If the type of data requested is project
if ($type == 'project') { if ($type == 'project') {
$project_id = trim(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id')); $project_id = trim(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('object_id'));
// Select all runs linked to the project // Select all runs linked to the project
$project_runs = tx_nG6_db::get_user_project_runs($user_id, $project_id, 'tx_nG6_run.date DESC'); $project_runs = tx_nG6_db::get_user_project_runs($user_id, $project_id, 'tx_nG6_run.date DESC');
// for each run // for each run
...@@ -79,7 +79,7 @@ class tx_nG6_eid { ...@@ -79,7 +79,7 @@ class tx_nG6_eid {
// If the type of data requested is run // If the type of data requested is run
} else if ($type == 'run'){ } else if ($type == 'run'){
$run_id = trim(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id')); $run_id = trim(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('object_id'));
// Select all analysis linked to the run and the run information // Select all analysis linked to the run and the run information
$run_analysis = tx_nG6_db::get_user_run_analysis($user_id, $run_id, 'tx_nG6_analyze.name'); $run_analysis = tx_nG6_db::get_user_run_analysis($user_id, $run_id, 'tx_nG6_analyze.name');
$run_info = tx_nG6_db::select_run($run_id); $run_info = tx_nG6_db::select_run($run_id);
......
...@@ -398,7 +398,7 @@ $(function () { ...@@ -398,7 +398,7 @@ $(function () {
run_description : "Run ###SPAN_NAME### (###SPAN_SPECIES###) - (###SPAN_DATE###) produced ###SPAN_NB_SEQ### reads", run_description : "Run ###SPAN_NAME### (###SPAN_SPECIES###) - (###SPAN_DATE###) produced ###SPAN_NB_SEQ### reads",
analyse_description : "Analyse ###SPAN_NAME###", analyse_description : "Analyse ###SPAN_NAME###",
user_id : $("#user_id").val(), user_id : $("#user_id").val(),
id : n.attr("id").split("_")[1], object_id : n.attr("id").split("_")[1],
type : n.attr("id").split("_")[0] type : n.attr("id").split("_")[0]
}; };
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment