liquid_feedback_frontend

diff app/main/vote/list.lua @ 95:6a12fb7e4963

Suggestion API, draft preview, word based diff, multiple fixes
- Added suggestion API
- Initiative API: Drafts optionally delivered as rendered html fragment
- Initiative API: Fixed wrong output of revoked timestamp when using JSON
- Preview added for initiative drafts
- Improved (word based) diff added
- Improved suggestion list
- Added missing sorting of initiative in vote list
- Filter state for member page initiative lists
- Fixed wrong status output in member history
- Fixed wrongly closed div in layout
author bsw
date Mon Aug 30 21:52:19 2010 +0200 (2010-08-30)
parents 1f1f8c78ba3a
children 7e7d629390d5
line diff
     1.1 --- a/app/main/vote/list.lua	Thu Aug 19 15:37:51 2010 +0200
     1.2 +++ b/app/main/vote/list.lua	Mon Aug 30 21:52:19 2010 +0200
     1.3 @@ -73,7 +73,7 @@
     1.4    end
     1.5  end
     1.6  
     1.7 -local initiatives = issue:get_reference_selector("initiatives"):add_where("initiative.admitted"):exec()
     1.8 +local initiatives = issue:get_reference_selector("initiatives"):add_where("initiative.admitted"):add_order_by("initiative.satisfied_supporter_count DESC"):exec()
     1.9  
    1.10  local min_grade = -1;
    1.11  local max_grade = 1;

Impressum / About Us