What is the error in the filter array?

The filter comprise:
$GLOBALS['arrFilterTomain'] = Array("ACTIVE" => "Y",
 "PROPERTY" => array('CITYS' => array('VALUE_XML_ID' => '2012'))); 
//does not output anything


-------------------------------------------------------------------

An example of a working filter with the same news
//$GLOBALS['arrFilterTomain'] =Array("ACTIVE" => "Y", 
"PROPERTY" => array('TOMAIN' => array('VALUE' => 'Y')));


Vardan
["DISPLAY_PROPERTIES"]=>
 array(3) {
["TOMAIN"]=>
 array(36) {
....
["USER_TYPE_SETTINGS"]=>
 array(1) {
["VIEW"]=>
 array(2) {
["N"]=>
 string(1) "N"
["Y"]=>
 string(1) "Y"
}
}
...
["VALUE"]=>
 string(1) "Y"
....
 string(34) "Display on home"
["~DEFAULT_VALUE"]=>
 string(1) "Y"
}
["CITYS"]=>
 array(38) {
....
["VALUE_ENUM"]=>
 string(22) "Novosibirsk"
["VALUE_XML_ID"]=>
 string(4) "2012"
....
}
 }
July 8th 19 at 15:28
1 answer
July 8th 19 at 15:30
Solution
$GLOBALS['arrFilterTomain'] = array("PROPERTY_CITYS_VALUE"=>"Moscow%");

Source
web-bi.com/blog/using_arrfilter

Find more questions by tags 1C-Bitrix