[Bug 24087] New: item's subfields (952|995) must be displayed on tab 10
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24087 Bug ID: 24087 Summary: item's subfields (952|995) must be displayed on tab 10 Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: jonathan.druart@bugs.koha-community.org Reporter: jonathan.druart@bugs.koha-community.org QA Contact: testopia@bugs.koha-community.org In the biblio frameworks we let the possibility to select a specific tab to display subfields. In some part there is code that handles (quite awkwardly) this possibility, but globally Koha is assuming the item's subfields must be in tab 10. I think it would make sense to simplify/clean the code and enforce that on the UI (framework edition): Hide "tab 10" for any fields != 952|995 and display only "tab 10" for 952|995. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24087 --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- For instance, to build the list of item's fields in tools/batchMod.pl 332 foreach my $tag (sort keys %{$tagslib}) { 333 # loop through each subfield 334 foreach my $subfield (sort keys %{$tagslib->{$tag}}) { 335 next if IsMarcStructureInternal( $tagslib->{$tag}{$subfield} ); 336 next if (not $allowAllSubfields and $restrictededition && !grep { $tag . '$' . $subfield eq $_ } @subfieldsToAllow ); 337 next if ($tagslib->{$tag}->{$subfield}->{'tab'} ne "10"); -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24087 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=23282 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org