bernd-wechner / CoGs

Competitive Gamers Leaderboard Server (CoGs LS)
2 stars 4 forks source link

Add (extend) list sorting options ... #28

Open bernd-wechner opened 3 years ago

bernd-wechner commented 3 years ago

Rudimentary sorting is implemented. There is work to do to finish the widgets still. But they are restricted to database fields (model field attributes).

One need I see is to for example list games in order of their popularity (so net play count) That is ont an attribute of the Game model so not available. BUT it turns out there's a nice package addressing just such needs:

http://django-denorm.github.io/django-denorm/tutorial.html#counting-related-objects

Implementing this and finishing up the sorting widgets are covered by this issue.