Student Activity Summary Sorting
The student activity list now supports clearer summary and sorting behavior.
Student records can include session count and last activity time directly from the student query, and the student model was extended with fields for those computed values. The activity view then uses a separate student_id2 filter for choosing a student from the summary list, keeping it distinct from the detail view’s student_id parameter.
The sorting code was adjusted so summary columns can be ordered consistently without losing the selected student filters.