https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37863

--- Comment #3 from Emily Lamancusa (emlam) 
<[email protected]> ---
Created attachment 173891
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173891&action=edit
Bug 37863: Fix checking if a patron is already in the list adding users to a
patron card batch

If the patron is already in the card batch it won't add it and it will show an
error message

Test plan:
1 Create or edit an patron card batch
2 Try adding twice or more the same patron. It will show a success message
everytime and you will end up with the same patron several times in the card
batch
3 Apply patch, restart services
4 Repeat step 2. The first time you click on add user, it will do it and show
the success message (Patron 'Patron name' added.), but after that it won't add
the user and it will display an error message (Patron 'Patron name' is already
in the list.)

Signed-off-by: Sukhmandeep Benipal <[email protected]>
Signed-off-by: Emily Lamancusa <[email protected]>

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