openwallet-foundation / digital-wallet-and-agent-overviews-sig

The objective of this SIG is to develop and maintain the Digital Wallets and Agents Overview. The overview should provide transparency of the characteristics of wallets and agents in order to allow for an objective comparison and effective decision making on which wallet or agent is applicable for your use case.
https://openwallet-foundation.github.io/digital-wallet-and-agent-overviews-sig/
Apache License 2.0
13 stars 15 forks source link

Sorting should be case-insensitive #52

Closed samuelmr closed 2 months ago

samuelmr commented 2 months ago

By default, Angular sorts table rows in a case-sensitive manner. Should be case sensitive, so that for example esatus Wallet can be found at "E".

Perhaps something like this in wallets-list.component.ts

  ngOnInit() {
    this.dataSource.sortingDataAccessor = (data, sortHeaderId) => data[sortHeaderId].toLocaleLowerCase();
  }

Doesn't work as is due to TS typing...

cre8 commented 2 months ago

I agree that the user wants to have e and E packed together instead [A-Za-z]. Feel free to open a PR for this "bug".

samuelmr commented 2 months ago

Fixed in #55