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

fix: [DHIS2-17516] bad request when sorting in the working lists #3737

Merged
merged 5 commits into from
Aug 6, 2024

Conversation

simonadomnisoru
Copy link
Contributor

@simonadomnisoru simonadomnisoru commented Jul 29, 2024

DHIS2-17516

Tech summary:
The API only accepts the asc and desc values ​​for order. Besides these two, the DataTable UI component also provides the default sort state. To fix this, I clean up the API request when the DataTable is in the default sort state for all 3 working lists.

@simonadomnisoru simonadomnisoru requested a review from a team as a code owner July 29, 2024 15:28
Copy link
Contributor

@superskip superskip left a comment

Choose a reason for hiding this comment

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

Looks pretty solid 👍

Copy link

github-actions bot commented Aug 5, 2024

Copy link

@geethaalwan geethaalwan left a comment

Choose a reason for hiding this comment

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

Tested successfully on 2.42,2.41.1,2.40.5,2.39.7 versions

@simonadomnisoru simonadomnisoru merged commit 69af6ec into master Aug 6, 2024
46 checks passed
@simonadomnisoru simonadomnisoru deleted the DHIS2-17516 branch August 6, 2024 10:14
dhis2-bot added a commit that referenced this pull request Aug 6, 2024
## [100.71.3](v100.71.2...v100.71.3) (2024-08-06)

### Bug Fixes

* [DHIS2-17516] bad request when sorting in the working lists ([#3737](#3737)) ([69af6ec](69af6ec))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 100.71.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants