lowcoder
lowcoder copied to clipboard
[Feat]: Queries in query library need optional parameters (also somewhat Bug)
Sometimes parameters optional, but there is currently no way from the UI to tag a parameter as such.
I tried to use a workaround like this:
This works fine from the Query Library itself, but when used in an app, it looks like the short hand if is not respected.
I have the same problem. It seems, that the code in the imported query isn't executed at all. If I recreate my query in the project the code works, but it doesn't work if importing the query. In my case it is a Jira Issue Search. I'm using conditional code to add an ORDER BY to the JQL, if certain inputs are set. If executed directly, the query works. From my project I get the default order always. It even ignroes the default values of the inputs.