Skip to content
Snippets Groups Projects

dev#203399 : add libraries multi-select element in profiles

All threads resolved!
Compare and Show latest version
2 files
+ 112
2
Preferences
Compare changes
Files
2
@@ -986,8 +986,8 @@ class Class_CriteresRecherche extends Class_CriteresRecherche_Abstract {
public function getBibs() : array {
$bibs = explode(',', $this->getParam('bib_select',''));
if ($this->_profil
&& ($selection_bib = $this->_profil->getIdSite()))
$bibs [] = $selection_bib;
&& ($selection_bibs = $this->_profil->getLibraryIds()))
$bibs = array_merge($bibs,$selection_bibs);
return array_filter($bibs);
}