Bugzilla – Attachment 138254 Details for
Bug 29897
Display author identifiers for researchers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29897: Don't use $6 for linkage but build the link instead
Bug-29897-Dont-use-6-for-linkage-but-build-the-lin.patch (text/plain), 5.47 KB, created by
Jonathan Druart
on 2022-07-29 08:52:42 UTC
(
hide
)
Description:
Bug 29897: Don't use $6 for linkage but build the link instead
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-07-29 08:52:42 UTC
Size:
5.47 KB
patch
obsolete
>From e1bc68528c726afe6d8d40c841895f8b1cc8e973 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 2 May 2022 10:59:23 +0200 >Subject: [PATCH] Bug 29897: Don't use $6 for linkage but build the link > instead > >See comment 26: >$6 is a very specialized field that will never contain a URL. Linkage here means 'linking MARC fields within the record'. For example it is used to link an original script tag with the corresponding tag in transliteration. See: https://www.loc.gov/marc/authority/ecadcntf.html > >Sponsored-by: Orex Digital >--- > .../bootstrap/en/modules/opac-auth-detail.tt | 23 +++++++++++-------- > .../bootstrap/en/modules/opac-detail.tt | 18 +++++++++++---- > 2 files changed, 26 insertions(+), 15 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt >index 6972b119150..bfcbbac48f6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt >@@ -188,16 +188,19 @@ > [% FOR identifier IN author_identifiers %] > <li> > [% SWITCH identifier.source.lower %] >- [% CASE 'orcid' %]ORCID: >- [% CASE 'scopus' %]ScopusID: >- [% CASE 'loop' %]loop: >- [% CASE 'rid' %]Publons: >- [% CASE %][% identifier.source | html %]: >- [% END %] >- [% IF identifier.linkage %] >- <a href="[% identifier.linkage | url %]">[% identifier.number | html %]</a> >- [% ELSE %] >- [% identifier.number | html %] >+ [% CASE 'orcid' %] >+ ORCID: >+ <a href="https://orcid.org/[% identifier.number | url %]">[% identifier.number | html %]</a> >+ [% CASE 'scopus' %] >+ ScopusID: >+ <a href="https://www.scopus.com/authid/detail.uri?authorId=[% identifier.number | url %]">[% identifier.number | html %]</a> >+ [% CASE 'loop' %] >+ loop: >+ <a href="https://loop.frontiersin.org/people/[% identifier.number | url %]">[% identifier.number | html %]</a> >+ [% CASE 'rid' %] >+ Publons: >+ <a href="https://publons.com/researcher/[% identifier.number | url %]">[% identifier.number | html %]</a> >+ [% CASE %][% identifier.source | html %]: [% identifier.number | html %] > [% END %] > </li> > [% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index bb2dd801f78..127bdda9094 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -967,11 +967,19 @@ > [% FOR identifier IN author.identifiers %] > <li> > [% SWITCH identifier.source.lower %] >- [% CASE 'orcid' %]ORCID: >- [% CASE 'scopus' %]ScopusID: >- [% CASE 'loop' %]loop: >- [% CASE 'rid' %]Publons: >- [% CASE %][% identifier.source | html %]: >+ [% CASE 'orcid' %] >+ ORCID: >+ <a href="https://orcid.org/[% identifier.number | url %]">[% identifier.number | html %]</a> >+ [% CASE 'scopus' %] >+ ScopusID: >+ <a href="https://www.scopus.com/authid/detail.uri?authorId=[% identifier.number | url %]">[% identifier.number | html %]</a> >+ [% CASE 'loop' %] >+ loop: >+ <a href="https://loop.frontiersin.org/people/[% identifier.number | url %]">[% identifier.number | html %]</a> >+ [% CASE 'rid' %] >+ Publons: >+ <a href="https://publons.com/researcher/[% identifier.number | url %]">[% identifier.number | html %]</a> >+ [% CASE %][% identifier.source | html %]: [% identifier.number | html %] > [% END %] > [% IF identifier.linkage %] > <a href="[% identifier.linkage | url %]">[% identifier.number | html %]</a> >-- >2.25.1
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 29897
:
129816
|
129817
|
129818
|
129819
|
132961
|
132962
|
132963
|
132964
|
133081
|
133113
|
133114
|
133115
|
133116
|
133117
|
134459
|
134460
|
134461
|
134462
|
134463
|
134464
|
135983
|
135984
|
135985
|
135986
|
135987
|
135988
|
135989
|
135990
|
135991
|
135992
|
135993
|
138249
|
138250
|
138251
|
138252
|
138253
|
138254
|
138255
|
138256
|
138257
|
138258
|
138259
|
138260
|
138371
|
138372
|
138425
|
138426
|
138427
|
138428
|
138429
|
138430
|
138431
|
138432
|
138433
|
138434
|
138435
|
138486
|
138487
|
138490
|
138501
|
138664
|
138665
|
138666
|
138667
|
138668
|
138669
|
138670
|
138671
|
138672
|
138673
|
138674
|
138675
|
138676
|
138677
|
138678
|
138679