More in this section

Forums / Developing with Sitefinity / FilterExpression and grouping with parenthesis

FilterExpression and grouping with parenthesis

2 posts, 0 answered
  1. Will
    Will avatar
    26 posts
    Registered:
    19 Aug 2008
    29 Jul 2009
    Link to this post
    It appears that parenthesis and not allowed in FilterExpressions for grouping.  How can we mix AND and OR conditions without grouping?

    For example:

    Publication_Date <= "#now" AND (Expiration_Date IS NULL OR Expiration_Date > "#now") AND Category IN ("Bills in the News")
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    30 Jul 2009
    Link to this post
    Hello Bill,

    "OR" is not supported by nolics and it is impossible to use this filter expression. Also the date cannot be null.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered