liquid_feedback_frontend
view app/main/supporter/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 | 80c215dbf076 | 
| children | b9c8503feff7 | 
 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_interest_snapshot", nil, "delegating_interest_snapshot.member_id = member.id")
     7   :add_where{ "delegating_interest_snapshot.issue_id = ?", issue.id }
     8   :add_where{ "delegating_interest_snapshot.event = ?", issue.latest_snapshot_event }
     9   :add_where{ "delegating_interest_snapshot.delegate_member_ids[1] = ?", member.id }
    10   :add_field{ "delegating_interest_snapshot.weight" }
    12 execute.view{
    13   module = "member",
    14   view = "_list",
    15   params = { 
    16     members_selector = members_selector,
    17     issue = issue,
    18     trustee = member
    19   }
    20 }
