liquid_feedback_frontend
diff model/issue.lua @ 886:2e9d39b53b64
Added support for setting/removing of beeing a non voter
author | bsw |
---|---|
date | Mon Aug 20 02:39:13 2012 +0200 (2012-08-20) |
parents | 3c91b7678cab |
children | 59f02db19531 |
line diff
1.1 --- a/model/issue.lua Mon Aug 20 02:38:34 2012 +0200 1.2 +++ b/model/issue.lua Mon Aug 20 02:39:13 2012 +0200 1.3 @@ -153,6 +153,8 @@ 1.4 selector:add_field("other_trustee.name", "other_trustee_name") 1.5 selector:left_join("direct_voter", nil, { "direct_voter.issue_id = issue.id AND direct_voter.member_id = ?", options.member_id }) 1.6 selector:add_field("direct_voter.member_id NOTNULL", "direct_voted") 1.7 + selector:left_join("non_voter", nil, { "non_voter.issue_id = issue.id AND non_voter.member_id = ?", options.member_id }) 1.8 + selector:add_field("non_voter.member_id NOTNULL", "non_voter") 1.9 return selector 1.10 end 1.11 }