Answers.Body: <p>I figured out why the second one wasn't working -- CiviEvent widget only shows UPCOMING events.</p>
  
  <p>I still am not able to figure out why I cannot see the events in DESCENDING order.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-10T19:13:48.710Z
Answers.LastActivityDate: 2018-06-10T19:13:48.710Z
Answers.UserDisplayName: Michele Rizack
Body: <p>I am trying to sort by start_date descending but it doesn't seem to be working.</p>
  
  <p>What change would I make to the below to get it to work?  I am using CiviCRM 4.6</p>
  
  <p>[civievent_widget title="Sorted Events" admin_type="custom" custom_filter=custom_filter='{"is_public": 1, "options": {"sort": "start_date DESC"}}']</p>
  
  <p>Also I am trying to display only past events by date (ideal would be before "today") but this doesn't work either.  Do I have a format incorrect or is this not possible to do?</p>
  
  <p>[civievent_widget title="Past Events" admin_type="custom" custom_filter='{"start_date": {">=": "2018-06-01"}, "is_public": 1, "options": {"sort": "start_date ASC"}}']</p>
  
Tags: <civievent>
Title: Problem with sorting civievent_widget custom_filter by startdate DESC and for past dates
ThreadText: # Problem with sorting civievent_widget custom_filter by startdate DESC and for past dates
  
  (Asked by: username_0 on 2018-06-08)
  
  I am trying to sort by start\_date descending but it doesn't seem to be working.
  
  What change would I make to the below to get it to work? I am using CiviCRM 4.6
  
  [civievent\_widget title="Sorted Events" admin\_type="custom" custom\_filter=custom\_filter='{"is\_public": 1, "options": {"sort": "start\_date DESC"}}']
  
  Also I am trying to display only past events by date (ideal would be before "today") but this doesn't work either. Do I have a format incorrect or is this not possible to do?
  
  [civievent\_widget title="Past Events" admin\_type="custom" custom\_filter='{"start\_date": {">=": "2018-06-01"}, "is\_public": 1, "options": {"sort": "start\_date ASC"}}']
  
  **Tags:** civievent
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-06-10. Score: 1
  
  I figured out why the second one wasn't working -- CiviEvent widget only shows UPCOMING events.
  
  I still am not able to figure out why I cannot see the events in DESCENDING order.
  
  
  ---
  
  