Bugzilla – Attachment 37212 Details for
Bug 13904
unimarc_field_4XX plugin - Add display of volume info and link to biblio record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13904 unimarc_field_4XX plugin doesn't display volume info, neither link to biblio
Bug-13904-unimarcfield4XX-plugin-doesnt-display-vo.patch (text/plain), 2.96 KB, created by
Frédéric Demians
on 2015-03-25 12:47:19 UTC
(
hide
)
Description:
Bug 13904 unimarc_field_4XX plugin doesn't display volume info, neither link to biblio
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2015-03-25 12:47:19 UTC
Size:
2.96 KB
patch
obsolete
>From 83d2e68ecbc9f0753c367ef92ad9acd985a8c259 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Wed, 25 Mar 2015 13:42:30 +0100 >Subject: [PATCH] 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. >--- > .../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 ec604fd..428c1b1 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 ) %]<td class="hilighted"> > [% ELSE %]<td>[% END %] > [% IF ( resul.MARC_ON ) %] >- <a_class="transparent resultlist" href="/cgi-bin/koha/MARCdetail.pl?biblionumber=[% resul.biblionumber |uri %]">[% resul.title |html %]</a> >+ <a class="transparent resultlist" href="/cgi-bin/koha/MARCdetail.pl?biblionumber=[% resul.biblionumber |uri %]">[% resul.title |html %][% IF resul.volume %] / [% resul.volume %][% END %]</a> > [% ELSE %] >- <a_class="transparent resultlist" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% resul.biblionumber |uri %]">[% resul.title |html %]</a> [% END %] >+ <a class="transparent resultlist" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% resul.biblionumber |uri %]">[% resul.title |html %][% IF resul.volume %] / [% resul.volume %][% END %]</a> [% END %] > <p>[% resul.author |html %] > [% IF ( resul.publishercode ) %]- [% resul.publishercode |html %][% END %] > [% IF ( resul.place ) %] ; [% resul.place |html %][% END %] >-- >2.3.0
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 13904
:
37212
|
39241
|
39539
|
39772
|
40269
|
40313