Skip to content
Snippets Groups Projects
Commit 6361d63d authored by efalcy's avatar efalcy
Browse files

Merge branch...

Merge branch 'hotline#100972_minsoc_portail_internet_incoherence_facette_motcle_tess_avec_le_terme_tess_recherche' into 'minsoc_prod'

hotline#100972 : minsoc fix codif_thesaurus error

See merge request !3533
parents 5d07c7da 506f4ed1
Branches
Tags
3 merge requests!3589Hotline,!3533hotline#100972 : minsoc fix codif_thesaurus error,!3516Minsoc prod
Pipeline #10271 passed with stage
in 42 minutes and 33 seconds
......@@ -121,11 +121,13 @@ class Class_Cosmogramme_Integration_Record_BibliographicDynamicFacets_Authority
if (!$heading = $datas['heading'])
return $children;
if (!$record_id = $datas['record_id'])
return $children[] = $this->_thesaurus->getOrCreateChild(strtoupper($heading), $heading);
$children[] = $child = $this->_thesaurus->getOrCreateChild($datas['record_id'], $heading);
if (!$record_id = $datas['record_id']) {
$children[] = $this->_thesaurus->getOrCreateChild(strtoupper($heading), $heading);
return $children;
}
$child = $this->_thesaurus->getOrCreateChild($datas['record_id'], $heading);
$children[] = $child;
foreach($this->_index_systems as $system)
$system->ensureRecordForThesaurus($heading, $record_id, $this->_thesaurus, $this->_int_bib, $child);
......
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