I need to filter database queries based on the url param.
If I understand this… (taken from here)
Then this should work:
- Route is
/login:school
- In server action I set up
$_PARAM.school
(1) - I set it in a vallue with output on so I can see if it’s getting the value. (2)
I’m expecting to see the query parameter here but it’s empty:
Community Page
Last updated:
Last updated: