Filtering MIGX GetImageList

Hey All,

I have a GetImageList call to fill a list box in the front-end, users can make a choice. And GetTvVBM snippet to get “normal” tv.

MIGX (plts-aanm)

[
{"caption":"Info", "fields": [
    {"field":"plaats","caption":"Plaats"}
]}
]

[
{"header": "Plaats invullen", "width": "400", "sortable": "true", "dataIndex": "plaats"}
]

chunk in form

<form class="simplesearch-search-form d-flex ruimte-onder" action="[[~34]]" method="POST">
    <div class="row">
        <div class="col-lg-2 afb-afst">
            <select class="form-control geenradius" type="text" name="optieplaats" id="optieplaats"  />
            <option value="" [[+selected]]>Kies plaats</option>
            [[!GetImageList? &docid=`116` &tvname=`plts-aanm` &name=`optieplaats` &tpl=`@CODE: <option value="[[+value]]" [[+selected]]>[[+plaats]]</option>`]] 
            </select>
        </div>
        <div class="col-lg-2 afb-afst">
            <select class="form-control geenradius" type="text" name="optieaann" id="optieaann"  />
                [[!GetTvVBM? &tpl=`filterSelectOption` &tvname=`aannemer` &name=`optieaann`]]
            </select>
        </div>
        <div class="col-lg-2"><input class="btn geenradius knop" type="submit" value="Filter woning"></div>
    </div>
</form>

Snippet which sets the filter in the pdoPage call is GetZoekFilterPDO

<?php
$modx->setPlaceholder('plaatsfilter', $_POST['optieplaats']);
$modx->setPlaceholder('aannemerfilter', $_POST['optieaann']);

$plaatsfilter = $modx->getPlaceholder('plaatsfilter');
$aannemerfilter = $modx->getPlaceholder('aannemerfilter');


    if(!empty($plaatsfilter)) {$plaatsfilter = "plaats==" . $plaatsfilter;}
    if(!empty($aannemerfilter)) {$aannemerfilter = "aannemer==" . $aannemerfilter;}

$myfilter = array ("$plaatsfilter","$aannemerfilter");
$comma_separated = implode(",", array_filter($myfilter, 'strlen'));

echo $comma_separated;

PDO call

[[!pdoPage:default=`[[$gerealiseerd-ovz-leeg-filter]]`?
    &element=`pdoResources`
    &parents=`[[GetKidsGerealiseerdPDO]]`
    &tpl=`gerealiseerdRowTpl-zoek`
    &sortby=`{"oplevering":"DESC"}`
    &showHidden=`1`
    &showUnpublished=`0`
    &limit=`12`
    &depth=`1`
    &pageLimit=`10`
    &pageVarKey=`pagina`
    &pageNavVar=`page.nav`
    &includeTVs=`pagetitle,project,fase,parent,aannemer,aannemerfilter,plaats,plaatsfilter,oplevering`
    &processTVs=`1`
    &tvPrefix=``
    &tvFilters=`[[!GetZoekFiltersPDO]]`
    &tplPageWrapper=`@INLINE <ul class="pagination pagination-sm">[[+prev]][[+pages]][[+next]]<ul>`
    &tplPageActive=`@INLINE <li class="active"><a href="[[+href]]">[[+pageNo]]</a></li>`
    &tplPagePrevEmpty=`@INLINE <li class="disabled"></li>`
    &tplPageNextEmpty=`@INLINE <li class="disabled"></li>`
    &tplPagePrev=`@INLINE <li><a [[+classes]] href="[[+href]]"><i class="fas fa-arrow-left"></i></a></li>`
    &tplPageNext=`@INLINE <li><a [[+classes]] href="[[+href]]"><i class="fas fa-arrow-right"></i></a></li>`
]]
</div>
<div class="clearfix"></div>
<div class="pagination">[[!+page.nav]]</div>

It is working for “normal” tv element, but not for MIGX tv, can someone help, what am i doing wrong ?

greetings,
Appeltje