From ecdb741b2b78ad56a0554a7e78e1b4bb7494635c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Demians?= 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=utf8 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 Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack (cherry picked from commit c215ba8117e727ed8b91e55dde30f5256c0f3064) --- .../prog/en/modules/authorities/searchresultlist-auth.tt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 6c67de7c3e..dd3cd41d33 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 -- 2.39.5