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

Alphabetize topic tags in sidebar #8568

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Alphabetize topic tags in sidebar #8568

merged 1 commit into from
Sep 11, 2024

Conversation

anselmbradford
Copy link
Member

We alphabetize the topic tags in the filterable search results, but not necessarily in the sidebar of individual posts. This PR alphabetizes them.

Changes

  • Alphabetize topic tags in sidebar

How to test this PR

  1. Visit http://localhost:8000/rules-policy/final-rules/prepaid-accounts-under-electronic-fund-transfer-act-regulation-e-and-truth-lending-act-regulation-z/ and see sidebar tags are alphabetized.
  2. Visit http://localhost:8000/enforcement/actions/colony-ridge/ and see sidebar tags are alphabetized.

Screenshots

Before:
Screenshot 2024-09-11 at 2 42 03 PM

After:
Screenshot 2024-09-11 at 2 41 33 PM

Copy link
Member

@chosak chosak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice Jinja-ing.

@anselmbradford anselmbradford added this pull request to the merge queue Sep 11, 2024
Merged via the queue into main with commit 43af5d0 Sep 11, 2024
12 checks passed
@anselmbradford anselmbradford deleted the ans_topics_alpha branch September 11, 2024 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants