How to display repeater items using code with filter?

Hello!! I have a collection called “MEDIA” and want to display filtered items in repeater using code and also want to connect pagination with filtered results.
i want to filter items if the field key"genre" in my collection contains “elctronics”

Have you taken a look at this article: https://support.wix.com/en/article/filtering-database-content-displayed-on-your-page

Does it help? If your filter parameters are going to be constant then you do not need to code.

Thanks! Shan for replying But i didn’t helped me I need need code for the repeater to simple filter with constant parameters

Hello Saurabh Singh ,

seems like you are searching for something similar like this example here…
https://russian-dima.wixsite.com/meinewebsite/filter-my-phones

Thanks! for your help.

Could the example help you ?