Bugzilla – Attachment 18116 Details for
Bug 10236
software error greek authorities
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[3.8.x] proposed patch
0001-Bug-10236-software-error-greek-authorities.patch (text/plain), 2.44 KB, created by
Fridolin Somers
on 2013-05-13 15:10:23 UTC
(
hide
)
Description:
[3.8.x] proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2013-05-13 15:10:23 UTC
Size:
2.44 KB
patch
obsolete
>From 9fa6d827e229ea201b7a8cf574890062a5460b3a Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Mon, 13 May 2013 16:45:09 +0200 >Subject: [PATCH] Bug 10236 - software error greek authorities >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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 >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-auth-detail.tt | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-auth-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-auth-detail.tt >index 672d4e3..52c3995 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-auth-detail.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-auth-detail.tt >@@ -32,6 +32,16 @@ > [% ELSE %][% heading %] > [% END %] > [% END %] >+[% BLOCK language %] >+ [% SWITCH lang %] >+ [% CASE ['en', 'eng'] %]English >+ [% CASE ['fr', 'fre'] %]French >+ [% CASE ['it', 'ita'] %]Italian >+ [% CASE ['de', 'ger', 'deu'] %]German >+ [% CASE ['es', 'spa'] %]Spanish >+ [% CASE %][% lang %] >+ [% END %] >+[% END %] > [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Entry > [% INCLUDE 'doc-head-close.inc' %] > [% IF ( displayhierarchy ) %] >@@ -139,7 +149,7 @@ function showChildren(mynumber) { > [% IF marcflavour == 'UNIMARC' && summary.otherscript %] > <div class="authstanza"> > [% FOREACH otherscrip IN summary.otherscript %] >- <div class="heading otherscript auth[% otherscrip.field %]"><span class="label">See also[% PROCESS language lang=otherscript.lang | trim %] term:</span> >+ <div class="heading otherscript auth[% otherscrip.field %]"><span class="label">See also [% PROCESS language lang=otherscrip.lang | trim %] term:</span> > <span class="otherscript">[% otherscrip.term %]</span> > </div> > [% END %] >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10236
:
18116
|
19616