how open page with Request filter when click button

I want to run filter when open page from button other page


// seach
export function input1_keyPress(event) {
    $w("#dataset12").setFilter( wixData.filter().contains('title', 'test' ) );     
}

Hey Ahmed,

If I understand correct, you want to create a filter that will open the results on a different page after a button click.

You can use the wix-storage API to ensure that the users browser remembers the choices they made when changing pages.

Hope this helps!

Dara | Corvid Team