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
54 stars 1 forks source link

Refactor item price model #139

Closed cmintey closed 2 months ago

cmintey commented 2 months ago

Refactor the item price model to store prices as numbers instead of strings. This will allow for better localization and the ability to properly sort items by prices. Important Note: This may break some prices when editing an existing item. Best effort is put into the migration, but if the current price cannot be parsed, then the new price model will not be migrated. Item cards will continue to show the old price for backwards compatibility.

Fixes #135