Skip to content
Snippets Groups Projects
Commit a53707a9 authored by Laurent's avatar Laurent
Browse files

Fix album should not have 856$b

parent 4675e113
Branches
Tags
2 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!14Hotline#12710 Resutat Recherche Article Reviens Page Accueil
......@@ -288,11 +288,17 @@ class Class_Indexation_PseudoNotice {
->visitOrigin($this->_datas['provenance'])
->visitUrl($this->_datas['url'])
->visitNotes($this->_datas['notes'])
->visitModelId($this->_model->getId())
->visitNatures($this->_datas['nature_doc']);
$this->_modelIdAcceptVisitor($visitor);
}
protected function _modelIdAcceptVisitor($visitor) {
$visitor->visitModelId($this->_model->getId());
}
protected function _getFacettes() {
$visitor = new Class_Indexation_PseudoNotice_FacettesVisitor();
$this->acceptVisitor($visitor);
......@@ -321,6 +327,8 @@ class Class_Indexation_PseudoNotice {
}
class Class_Indexation_PseudoNotice_Album extends Class_Indexation_PseudoNotice{
protected $_model_name = 'Class_Album';
protected $_id = 'id';
......@@ -342,6 +350,8 @@ class Class_Indexation_PseudoNotice_Album extends Class_Indexation_PseudoNotice{
$this->_datas['notes'] = $this->_model->getNotesForPseudoNotice();
}
protected function _modelIdAcceptVisitor($visitor) {}
/** @return array */
protected function extractAuthors() {
......@@ -392,9 +402,9 @@ class Class_Indexation_PseudoNotice_Album extends Class_Indexation_PseudoNotice{
foreach ($this->_model->getRessources() as $ressource)
$visitor->visitRessource($ressource);
}
}
}
class Class_Indexation_PseudoNotice_Cms extends Class_Indexation_PseudoNotice{
......
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