Hello,
The add_bulk_students action doesn't update the student counts on the page. On the ajax success would like to have the counts updated.
Thank you
It works fine, you just have to reload the page after adding the students to the course. On ajax it does not update the count and its not possible as of now.
Thanks Latiyan,
In my instance I updated the success to increment the count by the number of students submitted for bulk add. I realize if some of those in the list aren't added due to them not existing or already being on the course that the count will be temporarily incorrect. So I've followed that by a delayed reload which might make sense for this to avoid any potential data inconsistencies and to show the updated counts and listing.
I'd suggest the delayed reload would be a good call on this action to refresh counts and listing.
Cheers
Thanks for your suggestion.