Dataset - SetFilter

$w.onReady(function ()
{
 
 //TODO: write your page related code here...
});
export function button8_click(event, $w) {
 //Add your code for this event here: 
    console.log("All");
    $w("#dataset1").setFilter(wixData.filter()
                                             .eq('avaliability',true)
                                            .contains('propertyCat','Rent')
                                            .contains('propertyType',''));
 

    $w("#button8").style.backgroundColor = "#35B6E5";
    $w("#HomeRent").style.backgroundColor = "#414141";  
    $w("#VillaRent").style.backgroundColor = "#414141";
    $w("#FarmRent").style.backgroundColor = "#414141";
    $w("#CompoundRent").style.backgroundColor = "#414141";
    $w("#RetailSpaceRent").style.backgroundColor = "#414141";
    $w("#FlatRent").style.backgroundColor = "#414141";
    $w("#BuildingRent").style.backgroundColor = "#414141";
}