[index] Make sure metadata is loaded before requesting data

loadMetadatas must be executed before setDatas to load all
metadatas before using them in collectData (called by setDatas)
This commit is contained in:
logmanoriginal 2016-08-06 18:38:42 +02:00
parent b59915f23b
commit a1257126bc

View file

@ -113,8 +113,8 @@ try{
} else {
$bridge->setCache($cache); // just add disable cache to your query to disable caching
}
$bridge->setDatas($_REQUEST);
$bridge->loadMetadatas();
$bridge->setDatas($_REQUEST);
// Data transformation
try {
$format = Format::create($format);