3 ms·
By default, any field on the model that's displayed as a column in the list of objects is clickable to sort. You can also display things based on other attribut
by ubernostrum 17y ago
By default, any field on the model that's displayed as a column in the list of objects is clickable to sort. You can also display things based on other attributes of the model (e.g., calling a method), and if you like you can specify that they're tied to particular fields to get clickable sorting for those as well.