From 6a37fdf4954039f1b42483ff0de7c03eb6f9de13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= Date: Wed, 25 Mar 2015 13:42:30 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 13904: unimarc_field_4XX plugin doesn't display volume info, neither link to biblio When searching for multivolumes titles, UNIMARC 4xx field plugin displays the title of the biblios (200$a), without giving info about volumes (200 $h $i). The displayed title is supposed to link to a biblio record view (MARC / normal). It doesn't work. TO TEST: - On a UNIMARC Koha, add a new biblio record - Call the 4XX plugin from 461/463 field - Search for a biblio record which contains 200$h and/or 200$i subfields. - You get a result list, with two issues: 1. $h & $i aren't displayed 2. Biblio title is not a link - Apply the patch, and repeat previous steps. Signed-off-by: Bernardo Gonzalez Kriegel I can see 200$h and 200$i on search results, but not on result list from 4XX plugin, but they are copied into 46X. The title is now a link, so I think could be my example record. At last one of the problems is fixed :) No koha-qa errors Tested on UNIMARC setup, french files. --- .../prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt index 66d5223..b6d3709 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt @@ -167,9 +167,9 @@ [% IF ( resul.even ) %] [% ELSE %][% END %] [% IF ( resul.MARC_ON ) %] - [% resul.title |html %] + [% resul.title |html %][% IF resul.volume %] / [% resul.volume %][% END %] [% ELSE %] - [% resul.title |html %] [% END %] + [% resul.title |html %][% IF resul.volume %] / [% resul.volume %][% END %] [% END %]

[% resul.author |html %] [% IF ( resul.publishercode ) %]- [% resul.publishercode |html %][% END %] [% IF ( resul.place ) %] ; [% resul.place |html %][% END %] -- 1.9.1