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

            Bug ID: 37664
           Summary: Batch deleting patrons using a patron list - can't
                    delete staff patrons
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Tools
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

When batch deleting patrons from a patron list, and the list includes staff
patrons, it doesn't let you delete the staff patrons in the list.

To replicate:
1. Create a patron list (Tools > Patrons and circulation > Patron lists > + New
patron list).
2. Add two patrons to the list, with one of them a staff patron (such as
Henry):
   2.1 Enter at least three characters in the patron search field and 
       select a patron (examples: hen, mar)
   2.2 Repeat until you have two patrons that are listed under
       the 'Patrons to be added' heading
   2.3 Select 'Add patrons' to add to the list
3. Go back to the patron lists (Tools > Patron lists).
4. For the list you created, select Actions > Batch delete patrons.
5. Note that the warning message - the count is wrong (should be 2 patrons will
be deleted):
     Warning
     1 patrons will be deleted
     0 patrons' checkout histories will be anonymized
6. Repeat steps 1-5 where the patrons in the list are not staff patrons. The
count of patrons to delete should equal the number of patrons in the list.

Other notes:
1. I added patrons from all patron category types to the patron list (where
there are patrons in that category).
2. I also checked the staff patron information, and they weren't protected.
3. I testing using koha-testing-docker and was logged in as the koha user.
4. I couldn't see any options in the patron category form that would prevent
deletion.

I'm not sure if I am right that you can't delete staff patrons this way - there
may be another reason why this is happening.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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