https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28472 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |26581 CC| |nick@bywatersolutions.com --- Comment #1 from Nick Clemens <nick@bywatersolutions.com> --- I broke this trying to stop a warning: Was: if ( $item->location ne $update_loc_rules->{_ALL_}) { Became: if ( defined $item->location && $item->location ne $update_loc_rules->{_ALL_}) { Should be: if ( ( defined $item->location && $item->location ne $update_loc_rules->{_ALL_}) || (!defined $item->location && $update_loc_rules->{_ALL_} ne "") ) { Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26581 [Bug 26581] Elasticsearch - Records can be indexed multiple times during returns -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.