Now that the batch operation is firing, I notice an issue with the progress message. I've been looking through the code, but am defeated so far by the levels of abstraction. Before resorting to stepping through in debug, it makes sense to just ask!

I'm processing 200 records. The progress message (@current out of @total) gives me 1 out of 1, 2 out of 1, 3 out of 1, etc.

$batch['sandbox']['max'] is set to the number of records being processed, though I don't know whether it's used or not. I can't seem to find in the docs or the code what is driving the @total value. I do see that it comes from $current_set['total'], but not where that comes from.

Jeff

--

Ayen Designs
388 Bullsboro Drive #105 · Newnan, Georgia 30263

404-271-9734
ayendesigns.com
IM (Yahoo) baalwww    (MSN) [email protected]
Skype: ayendesigns

Ayen Designs is a tradename of the computer services division of

Reply via email to