cmintey / wishlist

Wishlist is a self-hosted wishlist application that you can share with your friends and family. You no longer have to wonder what to get your family for the holidays, simply check their wishlist and claim any available item!
MIT License
55 stars 1 forks source link

Bug: Incorrect sort by price #135

Closed tpansino closed 2 months ago

tpansino commented 2 months ago

Describe the bug The Sort by Price feature seems to be sorting lexicographically or something, not numerically as intended.

To Reproduce Steps to reproduce the behavior:

  1. Add 3 items to a wishlist - one $29.99, one $259.99, one $299.99
  2. Sort by Price, observe the $29.99 is sorted in between the other two

Expected behavior Order should be $29.99, $259.99, $299.99 (or the reverse)

Desktop (please complete the following information):