liquid_feedback_frontend

changeset 246:6efacc81ce81

Changed delegation_chain call in show_box to reflect changes in core-2
author bsw
date Fri Dec 30 03:10:11 2011 +0100 (2011-12-30)
parents dac08fce1ab7
children 8e284d4319be
files app/main/delegation/_show_box.lua
line diff
     1.1 --- a/app/main/delegation/_show_box.lua	Fri Dec 30 03:07:24 2011 +0100
     1.2 +++ b/app/main/delegation/_show_box.lua	Fri Dec 30 03:10:11 2011 +0100
     1.3 @@ -159,7 +159,7 @@
     1.4      
     1.5              local delegation_chain = Member:new_selector()
     1.6                :add_field("delegation_chain.*")
     1.7 -              :join("delegation_chain(" .. tostring(app.session.member.id) .. ", " .. tostring(area_id or "NULL") .. ", " .. tostring(issue_id or "NULL") .. ")", "delegation_chain", "member.id = delegation_chain.member_id")
     1.8 +              :join("delegation_chain(" .. tostring(app.session.member.id) .. ", " .. tostring(unit_id or "NULL") .. ", " .. tostring(area_id or "NULL") .. ", " .. tostring(issue_id or "NULL") .. ")", "delegation_chain", "member.id = delegation_chain.member_id")
     1.9                :add_order_by("index")
    1.10                :exec()
    1.11      

Impressum / About Us