Bugzilla – Attachment 174787 Details for
Bug 38483
C4::Heading::preferred_authorities is not used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38483: C4::Heading::preferred_authorities is not used
Bug-38483-C4Headingpreferredauthorities-is-not-use.patch (text/plain), 1.16 KB, created by
Janusz Kaczmarek
on 2024-11-19 12:25:56 UTC
(
hide
)
Description:
Bug 38483: C4::Heading::preferred_authorities is not used
Filename:
MIME Type:
Creator:
Janusz Kaczmarek
Created:
2024-11-19 12:25:56 UTC
Size:
1.16 KB
patch
obsolete
>From e17fb1f31c5084e97b193051eca6f1fdefcb5cfd Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Tue, 19 Nov 2024 12:22:23 +0000 >Subject: [PATCH] Bug 38483: C4::Heading::preferred_authorities is not used > >C4::Heading::preferred_authorities seems to be not used for ages (maybe >never used?) > >Test plan: >$ git grep preferred_authorities >--> should return nothing > >Sponsored-by: Ignatianum University in Cracow >--- > C4/Heading.pm | 16 ---------------- > 1 file changed, 16 deletions(-) > >diff --git a/C4/Heading.pm b/C4/Heading.pm >index 653cd9636d..9a491c8a89 100644 >--- a/C4/Heading.pm >+++ b/C4/Heading.pm >@@ -151,22 +151,6 @@ sub authorities { > return $results; > } > >-=head2 preferred_authorities >- >- my $preferred_authorities = $heading->preferred_authorities; >- >-Return a list of authority records for headings >-that are a preferred form of the heading. >- >-=cut >- >-sub preferred_authorities { >- my $self = shift; >- my $skipmetadata = shift || undef; >- my ( $results, $total ) = _search( 'see-from', $skipmetadata ); >- return $results; >-} >- > =head2 valid_heading_subfield > > if (C4::Heading::valid_heading_subfield('100', 'e', '')) ... >-- >2.39.5
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 38483
:
174787
|
174867
|
175579