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

            Bug ID: 37863
           Summary: Patron card batches don't detect when the patron is
                    already in the list
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Label/patron card printing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

When adding patrons to a batch from the modal the include file
patron-search.inc is designed to show a success message (Patron '%s' added) or
an error message (Patron '%s' is already in the list.) depending on the result
of the function add_user. If add_user returned a negative number, it would show
the error message. Otherwise it shows the success message. The problem is that
the function add_user at the template edit_batch.tt doesn't return anything, so
the system always adds the user, thus allowing to include several times the
same user in the card batch.

-- 
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