liquid_feedback_frontend

changeset 830:9c714f697e4e

Do not show inactive units on member home page
author bsw
date Tue Jul 10 23:38:16 2012 +0200 (2012-07-10)
parents 36fa53881a8e
children e3c2007828a1
files app/main/index/_member_home.lua
line diff
     1.1 --- a/app/main/index/_member_home.lua	Tue Jul 10 23:37:08 2012 +0200
     1.2 +++ b/app/main/index/_member_home.lua	Tue Jul 10 23:38:16 2012 +0200
     1.3 @@ -40,7 +40,7 @@
     1.4  
     1.5  end
     1.6  
     1.7 -local units = Unit:new_selector():add_order_by("name"):exec()
     1.8 +local units = Unit:new_selector():add_where("active"):add_order_by("name"):exec()
     1.9  
    1.10  if member then
    1.11    units:load_delegation_info_once_for_member_id(member.id)

Impressum / About Us