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 natural sort order #6632

Merged
merged 1 commit into from
Mar 22, 2022
Merged

Fix natural sort order #6632

merged 1 commit into from
Mar 22, 2022

Conversation

kulmann
Copy link
Member

@kulmann kulmann commented Mar 21, 2022

Description

Fix sorting to respect natural sort order again. Also used the chance to switch over to Intl.Collator which is considered to be a performance improvement, compared to localeCompare.

Related Issue

How Has This Been Tested?

Added an example for non-natural order being sorted to natural sort order to the existing unit test for the sorting composable.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@kulmann kulmann self-assigned this Mar 21, 2022
@kulmann kulmann added the Status:Needs-Review Needs review from a maintainer label Mar 21, 2022
@ownclouders
Copy link
Contributor

Results for oC10IntegrationApp1 https://drone.owncloud.com/owncloud/web/23957/71/1

💥 The acceptance tests failed on retry. Please find the screenshots inside ...

webUIPrivateLinks-accessingPrivateLinks_feature-L17.png

webUIPrivateLinks-accessingPrivateLinks_feature-L17.png

💥 The acceptance tests pipeline failed. The build has been cancelled.

@sonarcloud
Copy link

sonarcloud bot commented Mar 21, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

70.0% 70.0% Coverage
0.0% 0.0% Duplication

Copy link
Collaborator

@JammingBen JammingBen left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@kulmann kulmann merged commit 13071ae into master Mar 22, 2022
@delete-merged-branch delete-merged-branch bot deleted the fix-sort-order branch March 22, 2022 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status:Needs-Review Needs review from a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Items are listed in non-natural sortorder
4 participants