-
Notifications
You must be signed in to change notification settings - Fork 40
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
Fix try fec.gov btn on legal no-results page #3716
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example you provided works great, but I see two more places this search04 link is used in the code.
Examples (not sure this is comprehensive)
- MUR search http://127.0.0.1:8000/data/legal/search/murs/?search_type=murs&search=jabberwocky&case_no=&case_respondents=&case_min_open_date=&case_max_open_date=&case_min_close_date=&case_max_close_date=
- Statutes http://127.0.0.1:8000/data/legal/search/statutes/?search_type=statutes&search=jabberwocky
@lbeaufort , I changed the link to global search in the other two places.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, thanks for helping me review!
Summary
Point
Try FEC.gov
link on legal search no-results page to fec.gov search, passing the search queryImpacted areas of the application
modified: legal/templates/macros/legal.jinja
modified: fec/static/js/legal/SearchResults.js
modified: legal/templates/layouts/legal-doc-search-results.jinja
Screenshots
How to test
checkout
feature/fix-try-fec-link-legal-srch
Runserver:
Try FEC.gov
button