perf(finance/admin): remove `is_valid` from list view (#9)
The new unified statement view is very slow in production. This is caused by the computation of `is_valid` for every entry of the list, which entails at least one database query per row. Instead of removing the `is_valid` field from the list view, we could prefetch the related fields, but I don't think the `is_valid` provides any noticeable benefit anyway. We also add pagination to the statement view.main
parent
efe20bc721
commit
aae75ce291
Loading…
Reference in New Issue