Hello,
I need to filter the result of CIBlockElement::GetList() by specific property value of elements in catalog. The property is with a String type and the values seems like this -> 1|2|3|4 . I need to get all the elements which have 2 in this property, so what I'm doing is : CIBlockElement::GetList(array(),array("?PROPERTY_PROP6"=>"2")), it works, but if an element has a property with 1|12|3|4 value it will also be included in the list because 12 contains 2 and I don't need that. So is there a way to get only the elements which contains only 2.
Thank you!
I need to filter the result of CIBlockElement::GetList() by specific property value of elements in catalog. The property is with a String type and the values seems like this -> 1|2|3|4 . I need to get all the elements which have 2 in this property, so what I'm doing is : CIBlockElement::GetList(array(),array("?PROPERTY_PROP6"=>"2")), it works, but if an element has a property with 1|12|3|4 value it will also be included in the list because 12 contains 2 and I don't need that. So is there a way to get only the elements which contains only 2.
Thank you!








