+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / How to filter Events widget by StartDate

How to filter Events widget by StartDate

3 posts, 1 answered
  1. Jules
    Jules avatar
    65 posts
    Registered:
    20 Jul 2005
    21 Oct 2013
    Link to this post
    Help! Anyone know how to write the FilterExpression for the EventsFrontendListView so it filters by the StartDate and not the PublicationDate??

    I've tried the following, which just gave me an "error parsing the template". (Not really surprised.) Any suggestions?
    Visible = true AND Status = Live AND EventStart >= '%9/1/2010%' AND EventStart < '%9/1/2011%'
  2. Pavel Benov
    Pavel Benov avatar
    341 posts
    Registered:
    14 Mar 2016
    23 Oct 2013
    Link to this post
    Hi Julia,

    Try placing the date values in brackets like so:

    Visible = true AND Status = Live AND EventStart > (9/1/2010) AND EventStart < (9/1/2011)
      

    Regards,
    Pavel Benov
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. Jules
    Jules avatar
    65 posts
    Registered:
    20 Jul 2005
    23 Oct 2013 in reply to Pavel Benov
    Link to this post
    THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
3 posts, 1 answered