# HG changeset patch # User bsw # Date 1359840054 -3600 # Node ID aa91b62e3be828d9be833260cbc59209e3628202 # Parent 1d9e48ecd25477da8d6dd67a371c273f39fa406e Suggestions without harmonic weight sorted last diff -r 1d9e48ecd254 -r aa91b62e3be8 app/main/suggestion/_list.lua --- a/app/main/suggestion/_list.lua Sat Feb 02 22:16:10 2013 +0100 +++ b/app/main/suggestion/_list.lua Sat Feb 02 22:20:54 2013 +0100 @@ -2,7 +2,7 @@ local initiative = param.get("initiative", "table") local suggestions_selector = param.get("suggestions_selector", "table") -suggestions_selector:add_order_by("harmonic_weight DESC, id") +suggestions_selector:add_order_by("harmonic_weight DESC NULLS LAST, id") local ui_filters = ui.filters if true or not show_filter then