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

Include program in URL when searching in /learners #4939

Open
3 tasks
briangrossman opened this issue Jun 15, 2021 · 0 comments
Open
3 tasks

Include program in URL when searching in /learners #4939

briangrossman opened this issue Jun 15, 2021 · 0 comments
Assignees
Labels

Comments

@briangrossman
Copy link
Contributor

Currently, when you search in /learners, it implicitly searches within the currently selected program. It would be helpful to include the program in the URL querystring when searching to ensure that you will receive the same results if you share the URL of the search. (This was an issue recently on a Zendesk ticket)

The program can be specified using program=. If the user doesn't have access to the specified program, they should get a message:

You do not have access to the [program name - e.g. 'Finance'] program. Please choose a different program from the pulldown or enroll in [program name - e.g. 'Finance'].

Note that updating the facets currently updates the URL querystring.

Designs and Mockups

image

Acceptance Criteria:

  • When a user begins a search (enters a search term or selects a facet in /learners), the program will be included in the URL (program=)
  • When a user enters a link which includes a program= parameter, it will search in the specified program= and set the program pulldown accordingly
  • If the user doesn't have access to the specified program, they will the message specified above
@pdpinch pdpinch self-assigned this Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants