 
           else             
             filter_str = "#{to_date_str(date_toggle_state.start)} - #{to_date_str(date_toggle_state.end)}" 
+        
         else 
           filter_str = default_date_options().find((o) -> o.key == date_toggle_state.active).label
 

  ]

clear_custom_date = ->
  date_toggle_state = fetch 'date_toggle_state'
  date_toggle_state.start = null
  date_toggle_state.end = null
  save date_toggle_state

    salience: (u, opinion, proposal) -> if pass(u, opinion, proposal) then 1 else .1
    weight:   (u, opinion, proposal) -> if pass(u, opinion, proposal) then 1 else .1
    name: activated.key


  activate_opinion_date_filter view

