index student on year and major name
We want to expand what students are able to use our search functionality for. If you search for 'Computer Science' or '2018', we want to return students in that major, or graduating that year, respectively.
There are a couple aspects to this issue. First, you need to modify what's being indexed. Add the relevant fields to this file. https://git.gmu.edu/srct/roomlist/blob/amherst/roomlist/accounts/templates/search/indexes/accounts/student_text.txt Note how already right now we're using '.'s to access fields beyond the indexed model. You will need to take the same approach to access a Major's name.
Next, you'll need to change the frontend to indicate what users can search for. That template is here: https://git.gmu.edu/srct/roomlist/blob/amherst/roomlist/accounts/templates/search/search.html.