Di you try my reply?
Maybe you can try this.
Keep the code in your on ready function.
Collapse the repeater.(in the property panel of the repeater)
Next ad a code bellow the code you added in the $w.onready
Where you say something like
$w(" #dataset “).onReady(()=>{
$w(” #repeater ").expand()
})
Its a long shot but it migh work.
I’m not at a computer atm and i’m olmost of to bed.
If it aint working i will reply as soon as possible
So in short.
Collapse repeater in property panel.
Filter first
Then use the code for the dataset onready
In the codeblock of dataset onready expand the repeater.
Kind regards,
Kristof.