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

sandbox fusion : keep order on result display

parent ae3b8c57
Branches
Tags
5 merge requests!1132Hotline#29412 images des articles dans le resultat de recherche,!1120Master,!1079Dev #17782 merge print fusion,!1073Dev#17782 bonus 1 imprimer la liste des notices,!1062Sandbox fusion search result and print
......@@ -413,8 +413,9 @@ class ZendAfi_Controller_Action extends Zend_Controller_Action {
$strategy=$this->_getParam('strategy','Article');
$model='Class_'.$strategy;
$id_name='id_'.$strategy;
foreach(explode(';',$this->_getParam('ids',0)) as $id)
$models[]=$model::find($id);
$models = $model::findAllBy([$id_name=> explode(';',$this->_getParam('ids',0))] );
$this->view->lettre = Class_ModeleFusion::getBibliorecord($this->_getParam('modele_fusion'));
......
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