Bruno17/multiItemsGridTV — Issue #35: &where parameter not working in MODx 2.2.0
Author: davidregalado12
Created: 2012-02-01 22:12:11+00:00
State: open

Hi,

I got this getImageList code in a chunk:

[[!getImageList?
&docid=`36`
&tvname=`banner_principal`
&where=`{"titulo":="sometitlehere"}`
]]

but it does not work. I also check in core/components/migx/model/migx/migx.class.php and the function filterItems($items) only have 1 parameter, instead of two, like in the snippet:

// where filter
if (is_array($where) && count($where) > 0) {
$items = $migx->filterItems($where,$items);
}

Tested in MODX Revolution 2.2.0-pl2 (traditional)