# HG changeset patch # User bsw # Date 1325211011 -3600 # Node ID 6efacc81ce81a7b5f2f5566b2ac8527af38bef9c # Parent dac08fce1ab7913bac2886135b8335e7629e1a43 Changed delegation_chain call in show_box to reflect changes in core-2 diff -r dac08fce1ab7 -r 6efacc81ce81 app/main/delegation/_show_box.lua --- a/app/main/delegation/_show_box.lua Fri Dec 30 03:07:24 2011 +0100 +++ b/app/main/delegation/_show_box.lua Fri Dec 30 03:10:11 2011 +0100 @@ -159,7 +159,7 @@ local delegation_chain = Member:new_selector() :add_field("delegation_chain.*") - :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") + :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") :add_order_by("index") :exec()