liquid_feedback_frontend
annotate app/main/interest/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 | 768faea1096d |
children | b9c8503feff7 |
rev | line source |
---|---|
bsw@3 | 1 local issue = Issue:by_id(param.get("issue_id", atom.integer)) |
bsw@3 | 2 local member = Member:by_id(param.get("member_id", atom.integer)) |
bsw@3 | 3 |
bsw@3 | 4 local members_selector = Member:new_selector() |
bsw@3 | 5 :join("delegating_interest_snapshot", nil, "delegating_interest_snapshot.member_id = member.id") |
bsw@3 | 6 :add_where{ "delegating_interest_snapshot.issue_id = ?", issue.id } |
bsw@3 | 7 :add_where{ "delegating_interest_snapshot.event = ?", issue.latest_snapshot_event } |
bsw@3 | 8 :add_where{ "delegating_interest_snapshot.delegate_member_ids[1] = ?", member.id } |
bsw@3 | 9 :add_field{ "delegating_interest_snapshot.weight" } |
bsw@3 | 10 |
bsw@3 | 11 execute.view{ |
bsw@3 | 12 module = "member", |
bsw@3 | 13 view = "_list", |
bsw@3 | 14 params = { |
bsw@3 | 15 members_selector = members_selector, |
bsw@3 | 16 issue = issue, |
bsw@3 | 17 trustee = member |
bsw@3 | 18 } |
bsw@3 | 19 } |