https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28359 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |24403 CC| |tomascohen@gmail.com --- Comment #3 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- 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
GetHiddenItemnumbers must be removed anyway. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24403 [Bug 24403] [OMNIBUS] OpacHiddenItems should hide items everywhere in the OPAC -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.