Commit graph

5 commits

Author SHA1 Message Date
Midgard 105cf4a044
Revert "Don't crash on orders that don't have a slug"
This reverts commit ff0ea068de.

The next commit (Create a slug for old orders in the migration) will
change our strategy of writing code to handle the legacy slugless orders:
we will generate a slug for old orders.
2022-05-25 13:56:07 +02:00
Midgard ff0ea068de
Don't crash on orders that don't have a slug
Orders created before we introduced slugs don't have a slug. This commit
introduces code to work with them. Without these changes, the legacy
orders are not reachable any more, and trying to create a link for them,
crashes the page.

I wrote this commit because in my test environment I had a long-lived
order for testing purposes, and the home page crashed because the order
would show up in the list of Open Orders.
2022-05-25 10:55:33 +02:00
Midgard 44feb1a4ff
Change forgotten order_id to order_slug in a few places 2022-05-25 10:29:46 +02:00
Midgard 5a9d9c1d31
Update prices per person on key up
After user feedback
2022-04-22 01:25:01 +02:00
Midgard 09e2d704cd
Add price editor 2022-04-22 01:19:07 +02:00