hotline #56622 : remove author link in patron operations 'cause sql encoding issue
3 unresolved threads
3 unresolved threads
introduce inspector_gadget will show errors stack even when not logged in
Merge request reports
Activity
Filter activity
28 28 protected function _renderAuthor($operation, $attribs = []) { 29 29 $record = $this->_getRecord($operation); 30 30 31 if($this->_isStormLimited()) 32 return $operation->getAuteur(); 33 34 return $this->view->authorAnchor($operation->getAuteur() 35 ? $operation->getAuteur() 36 : $record->getAuteurPrincipal(), 37 $attribs); 31 return $operation->getAuteur() 32 ? $operation->getAuteur() 33 : $record->getAuteurPrincipal(); 38 34 } 26 26 if(!$author) 27 27 return ''; 28 28 29 if(!$facet = Class_CodifAuteur::findFirstBy(['libelle' => $author])) 29 if(!$facet = Class_CodifAuteur::findFirstBy(['libelle' => (new Class_Indexation())->alphaMaj($author)])) La forme alpha ne se trouve pas dans le libellé, see http://git.afi-sa.net/afi/opacce/blob/stable/cosmogramme/php/classes/classe_notice_integration.php#L902 qui appelle http://git.afi-sa.net/afi/opacce/blob/stable/library/Class/Cosmogramme/Integration/CodifProvider.php#L35 puis http://git.afi-sa.net/afi/opacce/blob/stable/library/Class/CodifAuteur.php#L33 et enfin http://git.afi-sa.net/afi/opacce/blob/stable/library/Class/CodifAuteur.php#L49 qui match against sur le champ "formes"
17 * You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE 18 * along with BOKEH; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 */ 21 22 23 class ZendAfi_View_Helper_AnchorAuthorSimpleTest extends ViewHelperTestCase { 24 protected 25 $_storm_default_to_volatile = true; 26 27 public function setup() { 28 parent::setUp(); 29 30 $this->fixture('Class_CodifAuteur', 31 ['id' => 10, 32 'libelle' => 'STEPHANIE BRISSON']); mentioned in commit 89618809