We've got the progress bar for staging back, we now want it for managing staged records.
Yes please!
Created attachment 144068 [details] [review] Bug 31748: Restore progress bar on record import Test Plan: 1) Apply this patch 2) Upload a marc batch 3) Import the marc batch 4) Note that under the message "The job has been enqueued! It will be processed as soon as possible." There is now a functioning progress bar and the page no longer redirects automatically.
With this patch I *do* get a progress bar, but it never progresses from 0%. It just sits there until I get bored and reload the page, at which point Koha shows that the batch has imported.
(In reply to Andrew Fuerste-Henry from comment #3) > With this patch I *do* get a progress bar, but it never progresses from 0%. > It just sits there until I get bored and reload the page, at which point > Koha shows that the batch has imported. That's related to the fact Koha doesn't know how many records it needs to process until it processes the MARC file. I guess we could add a pre-flight, to gather those counters, and it would be a win even if it adds one or two extra seconds to the process.