liquid_feedback_frontend
changeset 417:2570b9fff7e0
Fix displaying wrong delegation (again)
author | bsw |
---|---|
date | Sat Mar 10 17:41:55 2012 +0100 (2012-03-10) |
parents | 5a50d566f040 |
children | 54a7daa4d35c |
files | app/main/member/_area_list.lua |
line diff
1.1 --- a/app/main/member/_area_list.lua Sat Mar 10 17:39:39 2012 +0100 1.2 +++ b/app/main/member/_area_list.lua Sat Mar 10 17:41:55 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.scope = 'unit' AND 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.trustee_id = member.id AND delegation.truster_id = ?", unit.id, member.id }) 1.9 :optional_object_mode() 1.10 :exec() 1.11