I did put it in a function
$w.onReady( function () {
$w( ‘#dynamicDataset’ ).onReady( () => {
var newFilter = wixData.filter();
newFilter = newFilter.contains( ‘name’ , “Cat” );
$w( ‘#dynamicDataset’ ).setFilter(newFilter);
$w( “#repeater1” ).expand()
})
})
it does not give an error but we have the same problem…repeater loads first all data then gets filtered… I think it gets confused with the dataset connection from the editor… I think has to be broken and built up from the beginning with coding…
Can an expert confirm?