liquid_feedback_frontend

changeset 960:aa91b62e3be8

Suggestions without harmonic weight sorted last
author bsw
date Sat Feb 02 22:20:54 2013 +0100 (2013-02-02)
parents 1d9e48ecd254
children 2141aef04ad7
files app/main/suggestion/_list.lua
line diff
     1.1 --- a/app/main/suggestion/_list.lua	Sat Feb 02 22:16:10 2013 +0100
     1.2 +++ b/app/main/suggestion/_list.lua	Sat Feb 02 22:20:54 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("harmonic_weight DESC, id")
     1.8 +suggestions_selector:add_order_by("harmonic_weight DESC NULLS LAST, id")
     1.9  
    1.10  local ui_filters = ui.filters
    1.11  if true or not show_filter then

Impressum / About Us