Bugzilla – Attachment 188319 Details for
Bug 38106
In table settings for the items table in cataloguing some fields are not listed and cannot be hidden
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38106: Show attributes even if not in displayed in tab 10 (items)
Bug-38106-Show-attributes-even-if-not-in-displayed.patch (text/plain), 1.18 KB, created by
Jonathan Druart
on 2025-10-23 10:21:09 UTC
(
hide
)
Description:
Bug 38106: Show attributes even if not in displayed in tab 10 (items)
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-10-23 10:21:09 UTC
Size:
1.18 KB
patch
obsolete
>From dc1ea46f7b091335ab2e7345920d9f95b914b20a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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
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 38106
:
188318
| 188319