tom_bombadil
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
I will remove it, but that doesn't affect the filtering problem
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
@James4u
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
and then on the client side:
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
it is clear to me that I have to send the filtered values, how would the function in prisma look then, something like this?
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
@James4u lemme know when you're available to continue discuss about this?
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
and can you give a little more explanation of what you mean by 'hit the api'?
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
there is also pagination, which is done in the same function on prisma, so don't get confused 🙂
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
http://localhost:3000/adoptPet?category=Dog&location=Sarajevo&spol=Man&starost=Adult
if you ask for this, I'm getting params in the pathame while picking up filter values from FilterMenu88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
sorry, what do you want to say?
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
yes, that's actually my question, how will I now apply my filters that I picked up in the FilterMenu, on this AdoptPet page where all the animals are rendered. It is not the clearest to me with the prisma of how to bind, if you can help me with that?
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
if it will not create a problem related to filtering
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
if we can leave it on the client side, then let it stay
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
tnx mate
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
sure
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
@James4u should provide you some more code?
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
and this is server function which using prisma
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
this is the page where I render all animals and where want to filter that 'posts' array
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
88 replies
PPrisma
•Created by tom_bombadil on 7/22/2024 in #help-and-questions
Dynamic Filtering items with prisma and Nextjs?
will do now
88 replies