djaodjin / djaodjin-saas

Django application for software-as-service and subscription businesses
Other
564 stars 124 forks source link

Update sorting defaults for subscriber admin list #45

Closed rene-armida closed 9 years ago

rene-armida commented 9 years ago

Fix #14 - changes the default sort column to the user's subscription date, and the default sort direction to reverse chronological. Clicking any other sort column still starts in ascending sort order - so, if a user switches to "Subscriber," and then back to "Since" (user's subscription creation date), results will be shown in ascending chronological order, unlike the default, when the page is first loaded. If this is a problem, we will need to define per-column default sorting orders.

rene-armida commented 9 years ago

Given the request in #11, we may need to do exactly what I just suggested - define per-column default sorting directions. This is because some columns should start in a descending sort (e.g. timestamps) when some should start ascending (e.g. names).