svthalia / concrexit

Thalia Website built on Django.
https://thalia.nu
Other
23 stars 11 forks source link

Sales order admin 400 on filter by exact shift #3669

Closed DeD1rk closed 1 month ago

DeD1rk commented 2 months ago

Describe the bug

See CONCREXIT-1DV.

When filtering like this:

image

You get a 400 on e.g. https://thalia.nu/admin/sales/order/?shift__pk__exact=40.

How to reproduce

  1. Click to filter like above.
  2. Get 400.

Expected behaviour

The button to filter goes to a url that works. For example https://thalia.nu/admin/sales/order/?shift=40. But that's not recognized by the UI, so I think the UI needs fixing somehow.