From dc1ea46f7b091335ab2e7345920d9f95b914b20a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 23 Oct 2025 12:18:42 +0200 Subject: [PATCH] Bug 38106: Show attributes even if not in displayed in tab 10 (items) --- cataloguing/additem.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index 5c3e2005124..0dd8afc51c0 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -714,13 +714,12 @@ for my $subfield_code ( keys %{ $tagslib->{$itemtagfield} } ) { my $subfield = $tagslib->{$itemtagfield}->{$subfield_code}; next if IsMarcStructureInternal($subfield); - next unless $subfield->{tab} eq 10; # Is this really needed? my $attribute; if ( $subfield->{kohafield} ) { ( $attribute = $subfield->{kohafield} ) =~ s|^items\.||; } else { - $attribute = $subfield_code; # It's in more_subfields_xml + $attribute = $subfield_code; # It's in more_subfields_xml } next unless grep { $attribute eq $_ } @witness_attributes; $subfieldcode_attribute_mappings->{$subfield_code} = $attribute; -- 2.34.1