liquid_feedback_frontend
view app/main/suggestion/_opinions.lua @ 971:a8c6e80cdf5d
Fixed showing of wrong issue cancelled information
| author | bsw | 
|---|---|
| date | Sat Mar 09 19:13:55 2013 +0100 (2013-03-09) | 
| parents | de6b80867eb7 | 
| children | 
 line source
     1 local suggestion = param.get("suggestion", "table")
     3 execute.view{
     4   module = "opinion",
     5   view = "_list",
     6   params = { 
     7     opinions_selector = Opinion:new_selector()
     8       :add_where{ "suggestion_id = ?", suggestion.id }
     9       :join("member", nil, "member.id = opinion.member_id")
    10       :add_order_by("member.id DESC")
    11   }
    12 }
