Skip to content

&where parameter not working in MODx 2.2.0 #35

@thecodemancer

Description

@thecodemancer

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions