Print number sorting in inventory

I took a look at the react state in the card list component, and instead of sorting by card “print number”, it seems the app is sorting the collection by product → id . The first 3 “items” provided are:

0: product → name = “Scar - Fiery Usurper”,
product → printNumber = “122”,
product → id = "684f3f84373bb58ecee00f84"

1: product → name = “Shield of Virtue”,
product → printNumber = “135”,
product → id = "684f3f84373bb58ecee00fa6"

2: product → name = “Peter Pan - Never Landing”,
product → printNumber = “91”,
product → id = "684f3f84373bb58ecee00f35"

^^


“printNumber” should be the value used in sorting. The feature currently makes no sense / has no value from a user’s perspective.

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
🐛

Bug Reports

Date

8 months ago

Author

daymanstarchild

Subscribe to post

Get notified by email when there are changes.