liquid_feedback_frontend
diff app/main/initiative/_show.lua @ 879:ea3d3757ddc3
Added support for voting comments
author | bsw |
---|---|
date | Mon Aug 20 01:00:09 2012 +0200 (2012-08-20) |
parents | ea2449916c12 |
children | ae9ab3edff89 |
line diff
1.1 --- a/app/main/initiative/_show.lua Sat Aug 18 23:22:20 2012 +0200 1.2 +++ b/app/main/initiative/_show.lua Mon Aug 20 01:00:09 2012 +0200 1.3 @@ -427,6 +427,7 @@ 1.4 :left_join("vote", nil, { "vote.initiative_id = ? AND vote.member_id = member.id", initiative.id }) 1.5 :add_field("direct_voter.weight as voter_weight") 1.6 :add_field("coalesce(vote.grade, 0) as grade") 1.7 + :add_field("direct_voter.comment as voter_comment") 1.8 :left_join("initiative", nil, "initiative.id = vote.initiative_id") 1.9 :left_join("issue", nil, "issue.id = initiative.issue_id") 1.10