https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28359
--- Comment #5 from Tomás Cohen Arazi <[email protected]> --- (In reply to Jonathan Druart from comment #3) > filter_by_visible_in_opac and GetHiddenItemnumbers have different behaviours: > > > From GetHiddenItemnumbers: > if (any { $val eq $_ } @{$hidingrules->{$field}}) { > Expect an array (damaged: [1]) > > From filter_by_visible_in_opac: > { '-not_in' => $rules->{$field} } > will work for array and scalar This is true: it is an unadvertised side-effect of considering the OpacHiddenItems syspref YAML, and not just a subset of YAML. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ 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/
