[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
Wed Apr 3 11:30:02 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9535
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #17132|0 |1
is obsolete| |
--- Comment #6 from Jonathan Druart <jonathan.druart at biblibre.com> ---
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 <cnighswonger at foundations.edu>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Tested successfully with both patron card batches and label batches.
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Add indentation for readability
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list