liquid_feedback_frontend
diff app/main/suggestion/_list.lua @ 959:1d9e48ecd254
Ordering of suggestions by harmonic weight
author | bsw |
---|---|
date | Sat Feb 02 22:16:10 2013 +0100 (2013-02-02) |
parents | cdd0bcbbef8b |
children | aa91b62e3be8 |
line diff
1.1 --- a/app/main/suggestion/_list.lua Sat Feb 02 18:42:29 2013 +0100 1.2 +++ b/app/main/suggestion/_list.lua Sat Feb 02 22:16:10 2013 +0100 1.3 @@ -2,7 +2,7 @@ 1.4 local initiative = param.get("initiative", "table") 1.5 local suggestions_selector = param.get("suggestions_selector", "table") 1.6 1.7 -suggestions_selector:add_order_by("plus2_unfulfilled_count + plus1_unfulfilled_count DESC, id") 1.8 +suggestions_selector:add_order_by("harmonic_weight DESC, id") 1.9 1.10 local ui_filters = ui.filters 1.11 if true or not show_filter then