Bugzilla – Attachment 138371 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: Remove 'linkage' leftover
Bug-29897-Remove-linkage-leftover.patch (text/plain), 1.58 KB, created by
Jonathan Druart
on 2022-07-29 16:29:53 UTC
(
hide
)
Description:
Bug 29897: Remove 'linkage' leftover
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-07-29 16:29:53 UTC
Size:
1.58 KB
patch
obsolete
>From d0c1615e6f8c46f877b73330d0be2b8ecdc5d18e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 29 Jul 2022 18:28:03 +0200 >Subject: [PATCH] Bug 29897: Remove 'linkage' leftover > >--- > Koha/Authority.pm | 3 +-- > t/db_dependent/Koha/Authorities.t | 2 -- > 2 files changed, 1 insertion(+), 4 deletions(-) > >diff --git a/Koha/Authority.pm b/Koha/Authority.pm >index 0a6d30c6166..ff45d20a3dd 100644 >--- a/Koha/Authority.pm >+++ b/Koha/Authority.pm >@@ -136,9 +136,8 @@ sub get_identifiers { > for my $field ( $record->field('024') ) { > my $sf_2 = $field->subfield('2'); > my $sf_a = $field->subfield('a'); >- my $sf_6 = $field->subfield('6'); > next unless $sf_2 && $sf_a; >- push @identifiers, {source => $sf_2, number => $sf_a, linkage => $sf_6}; >+ push @identifiers, {source => $sf_2, number => $sf_a, }; > } > > return \@identifiers; >diff --git a/t/db_dependent/Koha/Authorities.t b/t/db_dependent/Koha/Authorities.t >index a9c507df837..5dbfaaa4973 100755 >--- a/t/db_dependent/Koha/Authorities.t >+++ b/t/db_dependent/Koha/Authorities.t >@@ -276,12 +276,10 @@ subtest 'get_identifiers' => sub { > { > source => 'orcid', > number => '0000-0002-1234-5678', >- linkage => 'https://orcid.org/0000-0002-1234-5678' > }, > { > source => 'scopus', > number => '01234567890', >- linkage => 'https://www.scopus.com/authid/detail.uri?authorId=01234567890' > } > ] > ); >-- >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