ensignlee / ssbook

ssbook
5 stars 3 forks source link

Order games so that open (ungraded) games show up on top #78

Closed ensignlee closed 13 years ago

ensignlee commented 13 years ago

Right now, when I have multiple bets going on the same day (usually today), if some of them are graded, but some of them are not, the graded ones are mixed in with the non-graded ones.

Ideally, the sort order should be:

  1. Date -> Descending
  2. Winnings -> null on top, values on bottom
  3. (Game rotation number?) If not possible, then league
  4. Bet On
camerondavison commented 13 years ago

is it possible to make this something that is configurable? I mean ideally we would want the default to be something that actually is doable, instead of some arbitrary thing. You know, potentially being able to see what the sort is rather then having to explain it or something.

ensignlee commented 13 years ago

Can we make the configurable-ness patch 1.0

and go with the order above for now?

camerondavison commented 13 years ago

I am going to make this sort happen every time that there are 2 values that are equal. Kinda makes sense to me.

  1. Winnings -> null on top, values on bottom
  2. League (rotn is not saved anywhere)
  3. Bet On
camerondavison commented 13 years ago

use date time to sort, put null bets closer to top. closed by 6280583daaa7d06e76fe6921bd6939f09703cb9a

camerondavison commented 13 years ago

reopende because this is completely not what you wanted.

You want the following for default

  1. Null winning, or not
  2. datetime desc
camerondavison commented 13 years ago

better defined sort reqs. closed by 0ef82019ab70db7d27bbce575908f4df8845af72