Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Grad/Undergrad Course Filtering a Text Search #83

Open
sebthedev opened this issue May 2, 2017 · 3 comments
Open

Make Grad/Undergrad Course Filtering a Text Search #83

sebthedev opened this issue May 2, 2017 · 3 comments
Assignees

Comments

@sebthedev
Copy link
Owner

As requested by @melyshu.

@sebthedev sebthedev self-assigned this May 2, 2017
sebthedev pushed a commit that referenced this issue May 2, 2017
@sebthedev
Copy link
Owner Author

sebthedev commented May 2, 2017

Now implemented on dev. We'll need some tweaks on the frontend to complete implementation. Reassigning to @melyshu.

@sebthedev sebthedev assigned melyshu and unassigned sebthedev May 2, 2017
@melyshu
Copy link
Collaborator

melyshu commented May 2, 2017

It seems to me that all grad courses are 500 level courses and all 500 level courses are grad courses so the course level filter does the same job as this? Wondering if you could verify this in the database

@sebthedev
Copy link
Owner Author

I've done some exploring of the database:

// Find the number of courses with catalog number >= 500
db.getCollection('courses').find({catalogNumber: {$gte:'500'}}).count()
// returns 3035

// Find the number of grad courses
db.getCollection('courses').find({track: 'GRAD'}).count()
// returns 2910

// Fund the number of undergrad courses with catalog number >= 500
db.getCollection('courses').find({catalogNumber: {$gte: '500'}, track: 'UGRD'}).count()
// returns 125

Many of the 125 undergrad courses with catalog number >= 500 are the mysterious courses with catalog numbers in the 90s (see issue #8). Otherwise some of these courses are junior independent work courses (which some department use 9xx for)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants