tohuwabohu-io / librefit

OpenSource calorie tracker using kotlin, quarkus, postgresql, SvelteKit and OpenAPI 3
https://libre.fit/
GNU General Public License v3.0
1 stars 0 forks source link

calorie tracker entries are unsorted after editing #86

Open tohuwabohu-io opened 2 months ago

tohuwabohu-io commented 2 months ago

Describe the bug When editing a calorie tracker entry and other entries are present, sometimes the entries become rearranged. They should stay in the same order.

To Reproduce Steps to reproduce the behavior:

  1. Go to dashboard
  2. Click on the 'edit' pencil of an existing entry
  3. Enter a value and save
  4. See error

Expected behavior The entries should stay sorted by the date they were added.

Desktop (please complete the following information):