liquid_feedback_frontend

changeset 416:5a50d566f040

Fix displaying wrong delegation
author bsw
date Sat Mar 10 17:39:39 2012 +0100 (2012-03-10)
parents 2113a6bb597d
children 2570b9fff7e0
files app/main/member/_area_list.lua
line diff
     1.1 --- a/app/main/member/_area_list.lua	Sat Mar 10 17:09:10 2012 +0100
     1.2 +++ b/app/main/member/_area_list.lua	Sat Mar 10 17:39:39 2012 +0100
     1.3 @@ -3,7 +3,7 @@
     1.4  
     1.5  for i, unit in ipairs(units) do
     1.6    local trustee_member = Member:new_selector()
     1.7 -    :join("delegation", nil, { "delegation.unit_id = ? AND delegation.truster_id = ?", unit.id, member.id })
     1.8 +    :join("delegation", nil, { "delegation.scope = 'unit' AND delegation.unit_id = ? AND delegation.truster_id = ?", unit.id, member.id })
     1.9      :optional_object_mode()
    1.10      :exec()
    1.11    

Impressum / About Us