[Koha-bugs] [Bug 33849] Duplicate patron warning resets borrowers branch if different than logged in user's branch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 15 11:42:27 CEST 2023


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

Emmi Takkinen <emmi.takkinen at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emmi.takkinen at koha-suomi.fi

--- Comment #1 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
For some reason $op isn't set as "duplicate" (as it should if I understand this
correctly). So this condition isn't filled

if (defined ($data{'branchcode'}) and ( $op eq 'modify' || $op eq 'duplicate'
|| ( $op eq 'add' && $category->category_type eq 'C' ) )) {
    $userbranch = $data{'branchcode'};
}

and logged in users branchcode is used instead of selected branchcode.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list