Optimze query fetching registration list
authorMagnus Hagander <[email protected]>
Tue, 30 Sep 2025 20:31:57 +0000 (22:31 +0200)
committerMagnus Hagander <[email protected]>
Tue, 30 Sep 2025 20:31:57 +0000 (22:31 +0200)
commitd99ff874e6ecedc0c6d5d7980a7af4340797514c
treef6567a7ea6c9d56620ea106a4593d33346e89ff7
parent98f194544086bee71084f59d5a375dce07f60a22
Optimze query fetching registration list

Avoid querying all the fields that we're never going to use. Makes it
worth it since it can be a lot of data.

In passing also fix some typos in the field references that could end up
with bad sorting.
postgresqleu/confreg/views.py
template/confreg/admin_registration_list.html