[Koha-bugs] [Bug 11592] opac scripts do not respect MARC tag visibility
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 6 09:45:14 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11592
--- Comment #43 from M. Tompsett <mtompset at hotmail.com> ---
(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.
More information about the Koha-bugs
mailing list