https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28472

Nick Clemens <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |26581
                 CC|                            |[email protected]

--- Comment #1 from Nick Clemens <[email protected]> ---
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.
_______________________________________________
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/

Reply via email to