liquid_feedback_frontend

view model/delegating_interest_snapshot.lua @ 213:acf92c2d33f4

Seperated css and fixed issue delegations for second generation frontend
author bsw
date Thu Mar 03 21:26:35 2011 +0100 (2011-03-03)
parents 4993b71b383f
children
line source
1 DelegatingInterestSnapshot = mondelefant.new_class()
2 DelegatingInterestSnapshot.table = 'delegating_interest_snapshot'
3 DelegatingInterestSnapshot.primary_key = { "issue_id", "event", "member_id" }
5 function DelegatingInterestSnapshot:by_pk(issue_id, event, member_id)
6 return self:new_selector()
7 :add_where{ "issue_id = ? AND event = ? AND member_id = ?", issue_id, event, member_id }
8 :optional_object_mode()
9 :exec()
10 end

Impressum / About Us