Repeater Links & Buttons (Load Amount, Collapse and Expand)

Same problem. It seems like a basic operation but cant find any resources on the topic. Ive been trying to just reset the repeater using :

$w(“#dataset1”).setFilter( wixData.filter() );
$w(“#dataset1”).setSort( wixData.sort() );
and
$w(‘#repeater1’).data=[]

…but neither solution addresses the number of items being loaded. This bug causes my browser to crash if you try to search after loading more than 2 pages, so I really hope someone can figure it out.