Closed johnnyporkchops closed 3 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 77.83%. Comparing base (
e95a584
) to head (8b82a1b
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary (required)
Resolves #6270
Add
Admin-fines
andADRs
to global searchOnly show results for chosen category when not searching all
Only search regulations if it is the chosen category, or searching 'All'
Move chosen category to the top of
category_order
inget_legal_category_order()
so the chosen category moves to the top of the side menu, even when there are no results.Required reviewers
required: one developer optional?: one content or UX
Impacted areas of the application
The lsearch box on legal landing page: https://www.fec.gov/legal-resources/ The global legal search : https://www.fec.gov/data/legal/search/
Files changed: modified: data/api_caller.py modified: fec/templates/partials/navigation/nav-legal.html modified: home/templates/home/legal/legal_resources_landing.html modified: home/templates/purgecss-homepage/full.html modified: legal/templates/legal-search-results.jinja modified: legal/templates/macros/legal.jinja modified: legal/views.py modified: fec/static/scss/mixins/_utilities.scss
Screenshots
(Include a screenshot of the new/updated features in context (“in the wild”). If it is an interface change, include both before and after screenshots)
Related PRs
Related PRs against other branches:
https://github.com/fecgov/fec-cms/pull/6318
How to test
npm run build
ordering, capitalization
for the list and dropdown choices on