Bugzilla – Attachment 5481 Details for
Bug 6806
Encoding problem with biblio titles in subscription-add.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed-off patch
0001-SIGNED-OFF-Bug-6806-Fix-encoding-of-title-in-subscri.patch (text/plain), 2.01 KB, created by
Owen Leonard
on 2011-09-20 18:34:33 UTC
(
hide
)
Description:
Signed-off patch
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-09-20 18:34:33 UTC
Size:
2.01 KB
patch
obsolete
>From c9e74cf1e36e01fe328dce69f7078064cc684c12 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Tue, 30 Aug 2011 14:58:36 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 6806 Fix encoding of title in subscription-add >Content-Type: text/plain; charset="utf-8" > >Port of Maxime Pelletier <maxime.pelletier@libeo.com>'s patch for >3.2 to TT >Stops the mangling of titles containing accented characters > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../prog/en/modules/serials/result.tt | 8 +++----- > 1 files changed, 3 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt >index 2f46119..30ec303 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt >@@ -5,9 +5,7 @@ > //<![CDATA[ > function GetIt(bibno,title) > { >- title = title.replace(/\?/,"\?"); >- title = title.replace(/"/,"\""); >- title = title.replace(/'/,"\'"); >+ title = title.parents('tr').find('.title').text(); > opener.document.f.biblionumber.value = bibno; > opener.document.f.title.value = title; > window.close(); >@@ -33,7 +31,7 @@ function GetIt(bibno,title) > </tr> > [% FOREACH resultsloo IN resultsloop %] > <tr> >- <td>[% resultsloo.title |html %] [% resultsloo.subtitle |html %] >+ <td class="title">[% resultsloo.title |html %] [% resultsloo.subtitle |html %] > </td> > <td> > [% resultsloo.author |html %] >@@ -44,7 +42,7 @@ function GetIt(bibno,title) > <td> > [% resultsloo.publicationyear |html %] > </td> >- <td><a href="#" onclick="GetIt('[% resultsloo.biblionumber %]','[% resultsloo.title |url %]');" title="Choose this record">Choose</a></td> >+ <td><a href="#" onclick="GetIt('[% resultsloo.biblionumber %]',$(this));" title="Choose this record">Choose</a></td> > </tr> > [% END %] > </table> >-- >1.7.3 >
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 6806
:
5215
|
5218
|
5481
|
5887