How to make a query parameter optional? #3393
Unanswered
clv-wchaspuri
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You have a few options.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a query that contains a value filter using the query parameter searchText. It works great filtering item, but it doesn't return anything when I don't include the query parameter in the URL
For example, if I have
/News?searchText=summer - returns all item with a title container the word summer
/News - returns empty
Any input and help would be greatly appreciated, thank you!
Beta Was this translation helpful? Give feedback.
All reactions