https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14604
--- Comment #8 from Kyle M Hall (khall) <[email protected]> --- Created attachment 206196 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206196&action=edit Bug 14604: Process offline circulation actions in the background This patch makes the Process button on the pending offline circulation actions page enqueue a background job rather than send one synchronous ajax request per action. Test Plan: 1) Apply this patch 2) Restart all the things! 3) Upload a Koha offline circulation ( .koc ) file with a few hundred actions in it A file that works with default koha-testing-docker data is attached to the ticket. 4) Go to Circulation > Pending offline circulation actions 5) Click "Check all", then click "Process" 6) Note the page comes back right away instead of locking up the browser! 7) Note the actions you selected are now listed as "Queued" and can no longer be checked! 8) Follow the "View detail of the enqueued job" link 9) Note the job reports how many actions succeeded, and lists the date, action, barcode, card number and result of every one of them! 10) Go back to Circulation > Pending offline circulation actions 11) Note the actions that were processed are gone from the list 12) Check a couple of the remaining actions and click "Delete" 13) Note they are gone and the number deleted is reported! Sponsored-by: ByWater Solutions Signed-off-by: Kyle M Hall <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
