[Koha-bugs] [Bug 9535] Patron card creator "Remove duplicates" function doesn't work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Mar 31 04:05:27 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9535

Chris Nighswonger <cnighswonger at foundations.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #2 from Chris Nighswonger <cnighswonger at foundations.edu> ---
I won't have time to work up a patch until later next week, but here's the fix:

C4::Creators::Batch line 202 should read as follows:

my @duplicate_items = grep{$_->{'item_number'} ? $seen{$_->{'item_number'}}++ :
$seen{$_->{'borrower_number'}}++} @{$self->{'items'}};

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


More information about the Koha-bugs mailing list