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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17132|0                           |1
        is obsolete|                            |

--- Comment #6 from Jonathan Druart <[email protected]> ---
Created attachment 17161
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17161&action=edit
Bug 9535 - Patron card creator "Remove duplicates" function doesn't work

This bug was due to a difference in field names used in the item data
for items versus patrons. This patch adds a ternary to discern between
the two.

To test:

Before applying patch:

1. Create a batch of patroncards with one duplicate.
2. Run the de-duplication on the batch.
3. Note that all patrons beyond the first in the batch are now
   deleted.

After applying patch:
4. Repeat steps 1-2.
5. Note that only the duplicate patron is removed.

Signed-off-by: Chris Nighswonger <[email protected]>
Signed-off-by: Owen Leonard <[email protected]>

Tested successfully with both patron card batches and label batches.

Signed-off-by: Jonathan Druart <[email protected]>
Add indentation for readability

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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