-
Notifications
You must be signed in to change notification settings - Fork 2
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
Courses by subject not listed in numerical order #57
Comments
This is not easily fixable. The second screenshot is the search results for the query "physics", where numerical order may not be the best order. Suppose if the COM SCI subject area has a class called "Physics in computer graphics", it is unclear where to slot that CS class relative to the physics classes in the search results. |
Would it be possible to change it so that in the second slide when you are searching for just course subject names such as "physics" the course subject area pops up so that it is already in numerical order? When people search up a key term like "physics" or "math" its usually to look up the whole subject area as they are looking to browse through the course offerings within that subject area. This way people will not have to go to the registrar to look up each course code and then come back to hotseat. Additionally they would not have to navigate back to the home page to select the course subject area if they are looking for a different subject. |
Yeah, I think that'd be a good idea. We could have the search page return subject areas as well (much like how we already have instructor and courses show up on the same page), and make sure the subject areas display on the page before courses. That seems to be more doable. Do you want to take a stab at it? Nathan probably knows how this works better, but I believe this requires adding a few lines like these to hotseat.io/app/models/course.rb Line 6 in 8dd1086
hotseat.io/app/models/course.rb Lines 77 to 83 in 8dd1086
These lines would add subject areas to the search index, and also dictate how the subject area is to be displayed on the search page (e.g., "COM SCI: Computer Science"). |
Currently, when you search for a subject and not a certain course it is hard to do because it is really messy and not numerically ordered it is random. In http://127.0.0.1:3000/subject-areas/142 it is okay but on the actual published website, it is not in order by course code.
The text was updated successfully, but these errors were encountered: