Please sign in to comment.
MDL-31987 Assignment module: Assignment count submissions correctly.
For advanced upload assignment, store file count of each submission into assignment_submissions.numfiles When counting submissions, if the assignment is open and tracking drafts, only submissions which has send for marking are counted. Otherwise, submissions which has numfiles > 0 are counted. Also change a hardcoded 'submitted' to ASSIGNMENT_STATUS_SUBMITTED. This patch was originally written by: Sunner Sun <email@example.com>. I made some modifation to fixed count_real_submissions() query (ref: MDL-32207) in /mod/assignment/type/upload/assignment.class.php file
- Loading branch information...
Showing with 50 additions and 6 deletions.