liquid_feedback_frontend
diff app/main/delegation/show.lua @ 574:e7baf2713987
Make direct delegation to initiator work again
author | bsw |
---|---|
date | Tue Jun 19 23:42:13 2012 +0200 (2012-06-19) |
parents | 774d8804ce65 |
children | 5650f8163a29 |
line diff
1.1 --- a/app/main/delegation/show.lua Tue Jun 19 23:37:20 2012 +0200 1.2 +++ b/app/main/delegation/show.lua Tue Jun 19 23:42:13 2012 +0200 1.3 @@ -169,16 +169,11 @@ 1.4 } 1.5 1.6 end 1.7 - -- add saved members 1.8 + -- add current trustee 1.9 if current_trustee_id then 1.10 records[#records+1] = {id="_", name= "--- " .. _"Current trustee" .. " ---"} 1.11 records[#records+1] = { id = current_trustee_id, name = current_trustee_name } 1.12 end 1.13 - -- add saved members 1.14 - records[#records+1] = {id="_", name= "--- " .. _"Saved contacts" .. " ---"} 1.15 - for i, record in ipairs(contact_members) do 1.16 - records[#records+1] = record 1.17 - end 1.18 -- add initiative authors 1.19 if initiative then 1.20 records[#records+1] = {id="_", name= "--- " .. _"Initiators" .. " ---"} 1.21 @@ -186,6 +181,11 @@ 1.22 records[#records+1] = record.member 1.23 end 1.24 end 1.25 + -- add saved members 1.26 + records[#records+1] = {id="_", name= "--- " .. _"Saved contacts" .. " ---"} 1.27 + for i, record in ipairs(contact_members) do 1.28 + records[#records+1] = record 1.29 + end 1.30 1.31 disabled_records = {} 1.32 disabled_records["_"] = true