Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Bugfix - Owners table sorting is not working correctly #2364

Merged
merged 5 commits into from
Jun 4, 2021

Conversation

matextrem
Copy link
Contributor

What it solves

This PR fixes #459

How this PR fixes it

We extended the sorting functionality in order to allow custom sorting methods for each column of the table.

How to test it

  1. Open/Load a safe with owners
  2. Go to Settings
  3. Go to Owners tab
  4. Sort Name column by clicking on the column name

@matextrem matextrem added the Bug 🐛 Something isn't working label May 31, 2021
@matextrem matextrem self-assigned this May 31, 2021
@github-actions
Copy link

CLA Assistant Lite All Contributors have signed the CLA.

@github-actions
Copy link

github-actions bot commented May 31, 2021

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@github-actions
Copy link

@github-actions
Copy link

src/components/Table/sorting.ts Outdated Show resolved Hide resolved
src/components/Table/types.d.ts Outdated Show resolved Hide resolved
src/components/Table/sorting.ts Outdated Show resolved Hide resolved
@matextrem matextrem requested a review from katspaugh June 2, 2021 03:42
@katspaugh
Copy link
Member

When you go to the Address Book, the app crashes with this error:
Screenshot 2021-06-02 at 09 18 07

@matextrem
Copy link
Contributor Author

@katspaugh it should be working now 👍

Copy link
Member

@katspaugh katspaugh left a comment

Choose a reason for hiding this comment

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

Works great! 👍

@francovenica
Copy link
Contributor

Looks good to me too
image

@katspaugh katspaugh merged commit 45205f8 into development Jun 4, 2021
@katspaugh katspaugh deleted the bugfix/owner-table-sort branch June 4, 2021 13:04
@github-actions github-actions bot locked and limited conversation to collaborators Jun 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Owner Name sorting is not ignoring lower/uppercase
3 participants