From d459e96fe458ebb11f455a441153befb8834704e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= Date: Tue, 5 Jun 2012 12:06:23 +0200 Subject: [PATCH] [SIGNED-OFF] 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. Signed-off-by: François Charbonnier --- .../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) [% resul.summary %] [% resul.used %] times - choose + [% IF resul.repets %] + [% FOREACH repet IN resul.repets %] + [% repet.repet %] + [% END %] + [% ELSE %] + choose + [% END %] Edit authority -- 1.7.5.4