Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAY-1054] Use new sorting style (#2846)
**What does this PR do?** A clear and concise description with your runway ticket url. Runway: https://nitro.powerhrg.com/runway/backlog_items/PLAY-1054 Removes the explicit Acending/Decending options from the header dropdown Checkout the page this is used on in Nitro: https://pr35577.nitro-web.beta.hq.powerapp.cloud/project_surveys/surveys?q%5Bcompleted_date_beginning_of_day_gteq%5D=01%2F01%2F2022&q%5Bcompleted_date_end_of_day_lteq%5D=12%2F31%2F2022&q%5Bs%5D=percentage_2+desc I originally thought this would produce a breaking change to Nitro, but I opted not to change the shape of the `sort_menu` object. Therefore no breaking change 🎉 **Screenshots:** Screenshots to visualize your addition/change From This:  To This:  **How to test?** Steps to confirm the desired behavior: 1. Go to https://pr2846.playbook.beta.hq.powerapp.cloud/kits/table/rails?sort=firstname_desc#table-header 2. Click on the Full name header 4. See addition/change #### Checklist: - [x] **LABELS** Add a label: `enhancement`, `bug`, `improvement`, `new kit`, `deprecated`, or `breaking`. See [Changelog & Labels](https://github.com/powerhome/playbook/wiki/Changelog-&-Labels) for details. - [x] **DEPLOY** I have added the `milano` label to show I'm ready for a review. - [x] **TESTS** I have added test coverage to my code. Co-authored-by: Nida Ghuman <nidaqg@gmail.com>
- Loading branch information