liquid_feedback_frontend
view app/main/vote/show_incoming.lua @ 52:88ac7798b562
Several bugfixes (getpic.c, accepted but canceled issues, ...); Listing of available policies
- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
author | bsw/jbe |
---|---|
date | Thu Apr 15 19:58:25 2010 +0200 (2010-04-15) |
parents | 77d58efe99fd |
children | 256d9be75916 |
line source
1 local initiative = Initiative:by_id(param.get("initiative_id", atom.integer))
2 local issue = initiative.issue
3 local member = Member:by_id(param.get("member_id", atom.integer))
5 local members_selector = Member:new_selector()
6 :join("delegating_voter", nil, "delegating_voter.member_id = member.id")
7 :add_where{ "delegating_voter.issue_id = ?", issue.id }
8 :add_where{ "delegating_voter.delegate_member_ids[1] = ?", member.id }
9 :add_field("delegating_voter.weight", "voter_weight")
11 execute.view{
12 module = "member",
13 view = "_list",
14 params = {
15 members_selector = members_selector,
16 initiative = initiative,
17 trustee = member
18 }
19 }