hotline #95535 Authors widget: improve thumbnail fetching & authors count to display
Merged
requested to merge hotline#95535_boite_auteurs_le_nombre_d_auteurs_affiches_est_moindre_que_dans_le_parametrage into hotline
1 unresolved thread
Merge request reports
Activity
Filter activity
95 103 } 96 104 97 105 98 protected function _getAuthorsFromRecords($records) { 99 $authors_ids = $this->_getAuthorsIdsFromRecords($records); 106 protected function _getAuthorsFromRecords($records, $with_thumbnail_only) { 107 if (!$authors_ids = $this->_getAuthorsIdsFromRecords($records)) 108 return []; 109 110 $params = ['id_auteur' => $authors_ids]; 111 112 if ($with_thumbnail_only) { 113 $params['where'] = 'thumbnail_url > \'\''; 114 $params['limit'] = $this->preferences['authors_count']; mentioned in commit 19df9057