Bugzilla – Attachment 19616 Details for
Bug 10236
software error greek authorities
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10236 - software error greek authorities
Bug-10236---software-error-greek-authorities.patch (text/plain), 2.49 KB, created by
Chris Cormack
on 2013-07-14 07:00:45 UTC
(
hide
)
Description:
Bug 10236 - software error greek authorities
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2013-07-14 07:00:45 UTC
Size:
2.49 KB
patch
obsolete
>From 28fb7c48170942ebef0a626bb240da21df6ceb0a 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 > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > 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.8.3.1
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