Commit 875d19df authored by Feu's avatar Feu

un grand coup de sqlrewriter

parent 12e61ec8
......@@ -577,8 +577,7 @@ class sqltable2 extends stdcontents
$rewriter->add_orderby('COLASCE('+implode(',',array_reverse($col[2]))+')',$sort{0}=="d"?'DESC':'ASC');
}
}
echo "REWRITED!";
$this->set_data($id_name,new requete($db,$rewriter->get_sql(),$rewriter->get_sql()));
$this->set_data($id_name,new requete($db,$rewriter->get_sql()),$rewriter->get_sql());
return;
}
......
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