maiera / gde-app

Apache License 2.0
22 stars 9 forks source link

Switch total_impact to computed property #170

Closed Scarygami closed 9 years ago

Scarygami commented 9 years ago

This allows sorting by the total_impact column.

I also already switched the column from int to float since we will most likely have float values here with the proposed log-weighting.

This will need a one-time task to fetch the existing AR records and put() them again to save the computed property to the datastore. (This task will also be needed when updating the total_impact calculation)

SmokyBob commented 9 years ago

+1