Alfresco / alfresco-ng2-components

Alfresco Angular Components
https://www.alfresco.com/abn/adf/docs/
Apache License 2.0
294 stars 268 forks source link

AAE-22900: update ObjectDataTableAdapter to support server and client… #10423

Open amolodyh-hyland opened 1 week ago

amolodyh-hyland commented 1 week ago

Fixes AAE-22900. This adds server sorting for the base ObjectDataTableAdapter to enable tables in tabs such as "Process Admin" User Tasks, Services Tasks, and Applications List.

Please check if the PR fulfills these requirements

  • [x] The commit message follows our guidelines
  • [x] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • [x] Bugfix
  • [ ] Feature
  • [ ] Code style update (formatting, local variables)
  • [ ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] Documentation
  • [ ] Other... Please describe:

What is the current behaviour? (You can also link to an open issue here) AAE-22900

What is the new behaviour?

Allows for enabling server sorting where it the adapter does not sort the data. The server data is rendered in the order it comes in.

Does this PR introduce a breaking change? (check one with "x")

  • [ ] Yes
  • [x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

This a partial fix to the provided story AAE-22900. After this is merged, hxp-frontend-apps will need to be updated by updating the applications-list-filtered-data-adapter adapter as well.

sonarcloud[bot] commented 4 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud