When displaying at OPAC an authority containing several languages forms, we get a software error : Template process failed: file error - language: not found at /home/fsomers/workspace/versions/community_38/C4/Templates.pm line 127.
Created attachment 18116 [details] [review] [3.8.x] proposed patch Proposed patch for 3.8, bug does not exist > 3.10 (see bug 8870)
Created attachment 19616 [details] [review] Bug 10236 - software error greek authorities When displaying at OPAC an authority containing several languages forms, we get a software error. There is in authority template page a call to "language" function but this function does not exist. This patch copies behaviour from bug 8870 (pushed in 3.10) which introduces the "language function". Test plan (unimarc) : - create an authority with 2 fields 700 with : 700$7 ba0yga0y $8 fregrc $a Κίνναμος 700$7 ba0yba0a $8 frefre $a Cinnamos - display this authority at OPAC => you should see : See also Greek term: Κίνναμος See also French term: Cinnamos Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
QA Comment: Could not get this to apply in an older 3.8 install (that I did not want to upgrade for this reason). But the 'code' looks good to me. It corrects a trivial typo in a variable name. Setting the status to Pushed to Stable to get attention of Rmaint 3.8.