Please sign in to comment.
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@example.com> Signed-off-by: Owen Leonard <firstname.lastname@example.org> Tested successfully with both patron card batches and label batches. Signed-off-by: Jonathan Druart <email@example.com> Add indentation for readability Signed-off-by: Jared Camins-Esakov <firstname.lastname@example.org>
- Loading branch information...