Permalink
Browse files

Add list sorting to todo list #90

  • Loading branch information...
1 parent 644057f commit f515d1a3cc95ed4dcad8c9f364133470d83cf739 @skidding skidding committed May 18, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 modules/todo/widget/list.coffee
@@ -20,6 +20,10 @@ define ['cs!widget'], (Widget) ->
list_params:
channels:
'/items': @channel_mapping['/todos']
+ sort_by:
+ 'checked': 'bool'
+ 'starred desc': 'bool'
+ 'id': 'int'
item: 'todo'
item_channels:
'/todos': @channel_mapping['/todos']

0 comments on commit f515d1a

Please sign in to comment.