Access to all courses
Filtering
So far, we're only passing the page to the findMany method in getProducts . In this lesson, we'll learn how to filter the products based on the category and price , and name fields. ## Passing our filters to the action Let's open up our app/search/page.tsx .
The rest of this lesson is waiting.
Join JS Mastery Pro to unlock it.





Get Full Access
$149 /month
Lock in a year & save—2 months free!
Quizzes, mini-challenges, AI summaries, inline sandboxes
Participation in a private community
Build real production-grade apps
Mock interviews & project reviews
Weekly live sessions & member-only access