Skip to content
Snippets Groups Projects
Commit d1f35475 authored by erichard's avatar erichard
Browse files

Suppression des affichages de debug.

parent 7863fd63
No related branches found
No related tags found
2 merge requests!61Packager labelstower,!60WIP: Implement sqlalchemy
......@@ -21,26 +21,16 @@ Procedure update_elements_and_labels()
and #hierarchy (hierarchy.high_discriminating_labels)
depending on which labels are forbiden and mandatory}
*/
console.log("pendant")
url =""
url += "/sort/search/"+hierarchy.mandatory_labels.length
if(hierarchy.mandatory_labels.length>0){
console.log("with-mandatory-labels")
url += "/"+format_json_to_string(hierarchy.mandatory_labels,"id")
if(hierarchy.forbiden_labels.length>0){
console.log("with-forbiden-labels")
url +="/"+format_json_to_string(hierarchy.forbiden_labels,"id")
}else{
console.log("without-forbiden-labels")
}
}else{
console.log("without-mandatory-labels")
console.log("length forbiden-labels : "+hierarchy.forbiden_labels.length)
if(hierarchy.forbiden_labels.length>0){
console.log("with-forbiden-labels")
url +="/"+format_json_to_string(hierarchy.forbiden_labels,"id")
}else{
console.log("without-forbiden-labels")
}
}
console.log(url)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment