Last active
February 26, 2017 13:40
-
-
Save VSeryoga/67a875ad52dc6ab85df96cf00bcea85d to your computer and use it in GitHub Desktop.
Filter bitrix (c позапросом)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$arrFilter = array( | |
array( | |
"LOGIC" => "OR", | |
'NAME' => "%".$_GET['q']."%", | |
'PROPERTY_ARTNUMBER' => "%".(string)$_GET['q']."%", | |
'ID' => CIBlockElement::SubQuery("PROPERTY_CML2_LINK", array( | |
"PROPERTY_ARTNUMBER" => "%".(string)$_GET['q']."%", | |
)), | |
) | |
); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment