http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11592
--- Comment #43 from M. Tompsett <[email protected]> --- (In reply to David Cook from comment #41) > @@ +1334,5 @@ > > + my $show = $display->{$interface}->{ > > $data->{$fullfield}->{$tag}->{'hidden'} }; > > + if (!$show || $show==0) { > > + $shouldhidemarc{ $field } = 1; > > + } > > + elsif ( !exists($shouldhidemarc{ $field }) ) { > > It shouldn't be necessary to add fields that aren't hidden to this hash. > Plus, since the value is 0, you'll most likely get the same end result you > would if you didn't have this block of code. > SELECT tagfield,tagsubfield,kohafield FROM marc_subfield_structure WHERE frameworkcode='' AND tagfield IN ('541','952') ORDER BY kohafield; items.stocknumber is a pain. This is why this code exists. If the first one is hidden (I didn't sort the keys, so it is "random") or visible, the other value doesn't affect it. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
