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

Jeremy/bug fix/grants explorer A-Z/Z-A sort does not take capitalization into account #9717

Conversation

jeremyschuurmans
Copy link
Contributor

@jeremyschuurmans jeremyschuurmans commented Nov 22, 2021

Description

This PR fixes a bug present in the A-Z/Z-A sort on the grants explorer that breaks the sort if some grant titles are capitalized and others are not capitalized.

Also removes a deprecated sort option that was left in by mistake.

Refers/Fixes
Testing

Tested locally

Copy link
Contributor

@gdixon gdixon left a comment

Choose a reason for hiding this comment

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

Nice!! 🚀

@jeremyschuurmans jeremyschuurmans force-pushed the jeremy/bug-fix/grants-explorer-sort-does-not-take-capitalization-into-account branch from 89341ba to e4f1ae3 Compare November 23, 2021 13:22
jeremyschuurmans referenced this pull request Nov 23, 2021
* add new labels and organize selections, disable keyboard input

* add admin labels

* add admin selections

* refactor

* remove some admin options (misunderstood requirements)

* styling

* sort by title, alphabetical and reverse alphabetical

* refactor

* refactor options to mimic optgroups, add more styling

* display admin options if user is an admin

* eslint fixes

* refactor

* refactor

* fix broken admin options display

* add test for admin options

* fix typo

* refactor specs

* add a test for sorting functionality

* refactor tests

* fix broken mobile layout
@thelostone-mc thelostone-mc merged commit 5c707ad into master Nov 24, 2021
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.

3 participants