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)
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)