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

Owen Leonard <oleon...@myacpl.org> changed:

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

--- Comment #4 from Owen Leonard <oleon...@myacpl.org> ---
Created attachment 17132
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17132&action=edit
[SIGNED-OFF] 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 <cnighswon...@foundations.edu>
Signed-off-by: Owen Leonard <oleon...@myacpl.org>

Tested successfully with both patron card batches and label batches.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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