SyllabiShare / syllabi-share

A app to help students share syllabi to assist in the college course selection process
GNU General Public License v3.0
9 stars 3 forks source link

Split Submission "course" field into "dept" and "number" #63

Closed 50Wliu closed 4 years ago

50Wliu commented 4 years ago

We already have dept, but course is the whole thing and it's redundant. Splitting it will allow us to perform more useful querying and filtering, and make it easier to add course subpages like /dept/course.

50Wliu commented 4 years ago

If this is a yes, then we'll need to investigate what needs to be done to transfer the existing submissions.

verndrade commented 4 years ago

transferring existing ones is pretty easy, just add a coursenumber field, and populate it in the shell with course.split(' ')[1] then deleting the course field. I guess the benefit of separating them is querying classes about 3000 or somethings