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

Default "General Court" Filter Missing on Browse Bills Page #1679

Open
Mephistic opened this issue Jan 18, 2025 · 0 comments
Open

Default "General Court" Filter Missing on Browse Bills Page #1679

Mephistic opened this issue Jan 18, 2025 · 0 comments
Labels
Browse Bills bug Something isn't working frontend Frontend development

Comments

@Mephistic
Copy link
Collaborator

Describe the bug
On the Browse Bills page on the dev site, on a fresh page load, there are no filters applied.

This is different from the expected behavior we see in production - we expect there to be one default filter that shows only the current general court.

We should re-introduce this "current court" filter to avoid unnecessarily showing users older bills.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Browse Bills' on the dev site
  2. See that "193rd (Current)" under the "General Court" facet is not checked by default
  3. See that there are ~16,000 search results for bills (when each court only has ~8,000)

Expected behavior
When the "Browse Bills" page loads, the "General Court" facet should default to "193rd (Current)" (or whatever the current court is)

Actual Results + Screenshots
Incorrect behavior (current dev site):

Image

Correct behavior (current production site):

Image

** Additional Context **

There were a bunch of recent changes to the Browse Bills page for the Tag Search that are live on the dev site - this is probably related @HuanFengYeh

@Mephistic Mephistic added Browse Bills bug Something isn't working frontend Frontend development labels Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Browse Bills bug Something isn't working frontend Frontend development
Projects
None yet
Development

No branches or pull requests

1 participant