Bugzilla – Attachment 9919 Details for
Bug 4838
Repeated authority headings break biblio record data entry form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch for 3.8 (and HEAD)
0001-Bug-4838-Fix-repeated-authorities-selection.patch (text/plain), 2.39 KB, created by
Frédéric Demians
on 2012-06-05 11:03:18 UTC
(
hide
)
Description:
Proposed patch for 3.8 (and HEAD)
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2012-06-05 11:03:18 UTC
Size:
2.39 KB
patch
obsolete
>From 8ef630b00fc66131be218a5df40801c68bc4e7fa Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Tue, 5 Jun 2012 12:06:23 +0200 >Subject: [PATCH] Bug 4838 Fix repeated authorities selection >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >How to test: > >Create an authority, with more than one heading, for example a >UNIMARC multilingual author: > > 200 $7 da > $a å > $b ç´è¼ > 200 $7 ba > $a Hara > $b Junsuke > >In data entry form, on 700 field, you click on ... Search for the above author. >In auhtority search result page, you just have a 'Choose' link, and so you just >can select the first heading (in Chinesse writing). > >Apply the patch. Repeat. Now you have, on result page, you have two links, and >can select one heading or the other. >--- > .../modules/authorities/searchresultlist-auth.tt | 8 +++++++- > 1 files changed, 7 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt >index c143995..7fd5607 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt >@@ -70,7 +70,13 @@ function jumpfull(page) > <td>[% resul.summary %]</td> > <td>[% resul.used %] times</td> > <td> >- <a href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=[% resul.authid %]&index=[% index %]')">choose</a> >+ [% IF resul.repets %] >+ [% FOREACH repet IN resul.repets %] >+ <a href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=[% resul.authid %]&index=[% repet.index %]&s;repet=[% repet.repet %]')" title="[% repet.value %]">[% repet.repet %]</a> >+ [% END %] >+ [% ELSE %] >+ <a href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=[% resul.authid %]&index=[% index %]')">choose</a> >+ [% END %] > </td> > <td><a href="authorities.pl?authid=[% resul.authid %]">Edit authority</a></td> > </tr> >-- >1.7.2.5 >
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 4838
:
4367
|
9919
|
10066