-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Description
The following soap request is currently translated into the sql statement below.
Unfortunately the backticks are wrong.
'canceled,new' > shows no results
'canceled','new' > would show results
Can you fix this bug in the next release?
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:def="http://host/soap/default?services=salesOrderRepositoryV1">
<soap:Header/>
<soap:Body>
<def:salesOrderRepositoryV1GetListRequest>
<searchCriteria>
<filterGroups>
<item>
<filters>
<item>
<field>state</field>
<value>canceled,new</value>
<conditionType>in</conditionType>
</item>
</filters>
</item>
</filterGroups>
</searchCriteria>
</def:salesOrderRepositoryV1GetListRequest>
</soap:Body>
</soap:Envelope>SELECT `main_table`.* FROM `sales_order` AS `main_table` WHERE (`state` IN('canceled,new'))