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
Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 7c70b09dfc)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
f3252871ee
commit
7c37b128ac
|
|
@ -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', '')) ...
|
||||
|
|
|
|||
Loading…
Reference in New Issue