Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • R roomlist
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • SRCT
  • roomlist
  • Issues
  • #95

Closed
Open
Created Oct 03, 2016 by Daniel W Bond@dbond2Developer

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.

Assignee
Assign to
Time tracking