Bug 42159: With OPACAuthorIdentifiersAndInformation information lacking from field 110/111

When the OPACAuthorIdentifiersAndInformation system preference is
enabled, selected information about authors is displayed. However, if
the main author is a corporate body or a meeting/conference (MARC 21
fields 110/111), the information is not shown.

Test plan:
==========
1. Enable the display of identifiers in
   OPACAuthorIdentifiersAndInformation.
2. Add a 024 field with a VIAF ID to any corporate authority record,
   e.g.:
   024 7# $a 1234 $2 viaf
3. Use this authority heading as the main entry (110 or 111) in any
   bibliographic record.
4. In the OPAC view of that bibliographic record, verify that the Author
   information tab does not display information from the main entry.
5. Use the same heading as an added entry (710 or 711). In the OPAC
   view, verify that the Author information tab now displays information
   from the added entry, but still not from the main entry.
6. Apply the patch ; restart_all.
7. Verify that OPAC now displays information from the 110/111
   heading fields in the bibliographic record.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 45981401e6)
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
This commit is contained in:
Janusz Kaczmarek 2026-03-24 12:49:58 +00:00 committed by Baptiste Wojtkowski
parent 34be8f5ed5
commit d1a5379bff
No known key found for this signature in database
GPG Key ID: 47A8A13E10BC0D40
1 changed files with 3 additions and 1 deletions

View File

@ -1617,7 +1617,9 @@ sub get_marc_authors {
if ( $marcflavour eq "UNIMARC" ) {
$fields_filter = '200';
} else { # marc21/normarc
$fields_filter = '100';
$fields_filter = '1..';
$mintag = '100';
$maxtag = '111';
}
my @first_authors = @{