learning-unlimited/ESP-Website — Issue #258: Removing a class should only remove its visible registrations
Author: jmoldow
Created: 2012-01-16 23:57:18+00:00
State: open
Labels: Enhancement, New Feature

When a student clicks "[Remove]" to remove a class from his/her schedule, the site expires all StudentRegistrations associated with that (user,ClassSection) paid. But with the resolution of Issue #35 / Pull Request #207, that set of StudentRegistrations might be different than the set of StudentRegistrations that is visible when the student clicks "[Remove]". We should make it so that only visible registrations are removed. This would help with documentation: if a student adds a class in the lottery, gets it (or doesn't get it, but adds it during FCFS), and then removes it, then currently the registrations from the lottery will also be expired, which is unnecessary and makes it harder to search through StudentRegistrations.