Refresh page after click on sidebar

Hi,

I am abeginner and I have put a sidebar on a page with a repater. The sidebar allows you to select a category. When we click category I would like to redisplay the page with a new filter with the repeater. How do we do ?
I create a function trying to send on the repeater page with wixLocation.to but as the page is already there, I think that onReady is not active since I put the wixData.query does not work.

An idea ?

Can you share a link on your site?

Of course Serhii :wink: https://tenyo4ever.wixsite.com/site/medium-list

You must click MENU or put the cursor on the right side
So I would like, for example ‘By Skill Level’ > Beginner apply a new query on the repeater of the page.

First of all, cool idea to create this menu with lightbox, it looks really good

If I understand you correctly you try open same page but change filter, in this case, you can try this algorithm
When you close the lightbox you can send data https://www.wix.com/corvid/reference/wix-window.lightbox.html#close then intercept them on your page https://www.wix.com/corvid/reference/wix-window.html#openLightbox and filter your repeater

Hi Serhii!
"First of all, cool idea to create this menu with lightbox, it looks really good "
Thank you :smile:

… and thanks for your help !!! I I managed to do what I wanted thanks to your explanation. I still have work but it’s progressing!
Thanks again :pray::pray::pray: