Open Zasa-san opened 2 years ago
When creating pages and using <Query /> syntax, the url parameter cannot parse filter queries unless they are url encoded.
<Query />
<Query name="queryName" url="search?limit=10&order=desc&sort=creationDate" />
<Query name="queryName" url="search?limit=10&order=desc&sort=creationDate&filters=%7B%22select%22%3A%7B%22values%22%3A%5B%22f5t0ah6aluq%22%5D%7D%7D" />
<Query name="queryName" url="search?limit=10&order=desc&sort=creationDate&filters={select:{values:[46dkjsakj2]}}" />
Research a backwards compatible solution so URLs that are already encoded do not get re-encoded (which escapes % symbol).
When creating pages and using
<Query />
syntax, the url parameter cannot parse filter queries unless they are url encoded.<Query name="queryName" url="search?limit=10&order=desc&sort=creationDate" />
<Query name="queryName" url="search?limit=10&order=desc&sort=creationDate&filters=%7B%22select%22%3A%7B%22values%22%3A%5B%22f5t0ah6aluq%22%5D%7D%7D" />
<Query name="queryName" url="search?limit=10&order=desc&sort=creationDate&filters={select:{values:[46dkjsakj2]}}" />