Fixed bug that was causing certain migrations to be marked as complet…e before migrating all of the items.
The issue is that items do not come ordered by ID, and the last offset (i.e. last item to process before marking job as complete) would not always be the lowest id. Which meant any IDs higher than the last offset would be ignored.
I have added sort function to order these by id descending and tested locally against a couple of live projects.
Fixed bug that was causing certain migrations to be marked as complet…e before migrating all of the items.
The issue is that items do not come ordered by ID, and the last offset (i.e. last item to process before marking job as complete) would not always be the lowest id. Which meant any IDs higher than the last offset would be ignored.
I have added sort function to order these by id descending and tested locally against a couple of live projects.