https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37393
--- Comment #6 from Marcel de Rooy <[email protected]> --- (In reply to MichaĆ from comment #0) > The cause is erroneous check `[% IF bundlesEnabled %]` before the parent > bundle information is requested+shown. The `bundlesEnabled` variable checks > if the current biblio ITSELF is of collection type, so should only be used > for whether to show the button to add new items to the bundle items, NOT for > querying whether current item is part of a bundle, as the items that make up > the bundle aren't of collection type themselves. The way this bundlesEnabled variable is filled, is quite obscure. It is actually done here: $template->param( "$_" => defined $dat->{$_} ? $dat->{$_} : '' ); To me it read more like 'feature enabled' but it indeed depends on the leader. Your code looks good to me. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
