Column order is important for a few of the tables I work with and switching my users from their (database-defined) order to alphabetical caused a little shellshock. Essentially, getting this functionality will be the last part of our migration from a different feature server package.
How it works
We add an environment variable TIPG_SORT_COLUMNS (which defaults to True). Set it to False to disable sorting of columns. It's essentially trivial code, plus accompanying docs and Settings model updates.
Rationale
Column order is important for a few of the tables I work with and switching my users from their (database-defined) order to alphabetical caused a little shellshock. Essentially, getting this functionality will be the last part of our migration from a different feature server package.
How it works
We add an environment variable
TIPG_SORT_COLUMNS
(which defaults toTrue
). Set it toFalse
to disable sorting of columns. It's essentially trivial code, plus accompanying docs andSettings
model updates.Anything else?
Let me know if I need to add anything else here.