Skip to content
Snippets Groups Projects
Commit 61314823 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

Merge branch 'hotline#40577_probleme_d_affichage_des_bibliotheques' into 'hotline-master'

Hotline#40577 probleme d affichage des bibliotheques

See merge request !1579
parents 5dd16668 01cbb528
Branches
Tags
4 merge requests!1659Master,!1587Master,!1585Master,!1584Hotline master
- ticket #40577 : Suggestion d'achat : Probleme d'affichage du sélecteur de bibliotheques.
\ No newline at end of file
......@@ -59,7 +59,7 @@ class BibLoader extends Storm_Model_Loader {
$all_bibs = Class_Bib::getLoader()->findAllBy(['order' => 'libelle']);
$bibs_as_array = [];
foreach($all_bibs as $bib) {
$bibs_as_array[$bib->getId()] = $bib->getFacetLabel();
$bibs_as_array[$bib->getId()] = $bib->getLabel();
}
return $bibs_as_array;
}
......
......@@ -126,8 +126,11 @@ class AbonneControllerSuggestionAchatAddFormMultipleBibsTest extends AbstractCon
public function setUp() {
parent::setUp();
$int_bib = $this->fixture('Class_IntBib', ['id' => 21,
'nom_court' => 'plage']);
$this->fixture('Class_Bib', ['id' => 11,
'libelle' => 'Bib de la plage']);
'libelle' => 'Bib de la plage',
'int_bib' => $int_bib]);
$this->fixture('Class_Bib', ['id' => 12,
'libelle' => 'Bib de la plage 2']);
......
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