liquid_feedback_frontend
view model/non_voter.lua @ 1764:a959fcd8e048
Translation corrections
| author | bsw | 
|---|---|
| date | Mon Oct 18 16:00:57 2021 +0200 (2021-10-18) | 
| parents | 2e9d39b53b64 | 
| children | 
 line source
     1 NonVoter = mondelefant.new_class()
     2 NonVoter.table = 'non_voter'
     3 NonVoter.primary_key = { "issue_id", "member_id" }
     5 function NonVoter:by_pk(issue_id, member_id)
     6   return self:new_selector()
     7     :add_where{ "issue_id = ? AND member_id = ?", issue_id, member_id }
     8     :optional_object_mode()
     9     :exec()
    10 end
