Skip to content
Snippets Groups Projects
Commit 5c1e2cbe authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #12905 fix "genre thesaurus" in domains edition indexation settings

parent 8dc674ec
Branches
Tags
5 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!83update WIP,!82Hotline 6.41.3,!81Hotline#12905,!80Hotline#12905 fix "genre thesaurus" in domains edition indexation settings
......@@ -80,7 +80,7 @@ class ZendAfi_View_Helper_Admin_TagListeSuggestion extends ZendAfi_View_Helper_B
if ($rubrique=="thesaurus") {
$thesaurus=Class_CodifThesaurus::findFirstBy(['id_thesaurus' => $code]);
if ($thesaurus)
$selection .= $thesaurus->getIdOrigine().' : '.Class_CodifThesaurus::getLibelleHierarchique($thesaurus)."<br>";
$selection .= "&laquo;".$thesaurus->getIdOrigine().' : '.Class_CodifThesaurus::getLibelleHierarchique($thesaurus)."&raquo; </br>";
continue;
}
$selection.="&laquo;".fetchOne("select ".$champ_libelle." from ".$table." where ".$champ_id."='".$code."'")."&raquo; ";
......
......@@ -629,7 +629,7 @@ class CatalogueControllerEditCatalogueTest extends AdminCatalogueControllerTestC
/** @test */
public function thesaurusThemeInputShouldDisplayMilitantisme() {
$this->assertXPathContentContains('//div[@id="THEM_aff"]',"Militantisme",$this->_response->getBody());
$this->assertXPathContentContains('//div[@id="THEM_aff"]', 'Militantisme»');
}
......@@ -1313,7 +1313,7 @@ class AdminCatalogueControllerEditCatalogueWithWrongGenre extends AbstractContro
'description' => 'Mon catalogue',
'genre' => 2]);
$this->dispatch('/admin/catalogue/edit/id_catalogue/15');
$this->dispatch('/admin/catalogue//id_catalogue/15');
}
......
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