Commit e1dbaafe authored by Ghislain Loas's avatar Ghislain Loas

dev #75068 fix rt comments

parent c8fbccc4
......@@ -177,7 +177,7 @@ class RechercheController extends ZendAfi_Controller_Action {
$instance = Class_CodifThesaurus::findFirstBy(['code' => $code,
'libelle' => $value]);
if($instance)
$facets[Class_CodifThesaurus::CODE_FACETTE . $instance->getIdThesaurus()] = 1;
$facets[$instance->getFacetteIndex()] = 1;
}
return array_filter($facets);
......
......@@ -272,6 +272,4 @@ class SearchResultWithDynamicFacetTest extends AbstractControllerTestCase {
$this->dispatch('/opac/recherche/simple/rech_HDOCU/SIFI', true);
$this->assertRedirectTo('/recherche/simple/multifacets/HDOCU0001');
}
}
\ No newline at end of file
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