Bug 36874

Summary: Confirming batch deletion of patrons seems to take as long as the initial search
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Christopher Brannon 2024-05-15 19:07:15 UTC
When you confirm deletion of patrons in the batch patron deletion tool, it seems like it takes a very long time.

I would assume when you set your criteria on the first page, it is gathering all the records that meets that criteria and creating a list for you to confirm.  But when you confirm, it seems like it takes just as long to finish.  Even when I just deleted 9 patrons.  It seems like that should have gone fairly quick.  Granted, I know there are probably a lot of tables and records to touch.  But is the tool going through the entire patron database again, or is it creating a list of qualifying patrons and only going through those records and related tables?