Incorrect data returned when filtering by combination of contains and/or equal

Found in

EPiServer.ContentDeliveryApi 1.0.1

Fixed in

EPiServer.ContentDeliveryApi 2.1.0

Created

Oct 09, 2018

Updated

Oct 30, 2018

State

Closed,


Description

Step to reproduce:

  1. Send a GET request to filter content as below:
    http://vnlabvm52:10000/CMS11Aug18/api/episerver/v2.0/search/content?filter=contains(name,'Bears') or name eq 'Find a reseller'

Expected:
Returns content having a name that contains "Bears" or having a name "Find a reseller".

Actual:
Returns content having a name as "Find a reseller" only.