You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When filtering resources, if the search filter is complex the maximum URL length can be easily exceeded (by definition I think it's about 2000 characters, however milage varies by browser). In our case it was originally observed when we implemented a filter-by-feature function where any arbitrary geometry in an overlay (which can be complex) could be used as a map filter. The same error can be achieved by generating a complex filter using Advanced Search.
We have implemented a workaround for the interactive search map filter page which submits the filter in the body of a POST rather than a GET if it exceeds maximum URL length, and I'm currently working on resolving a similar issue when exporting the results by CSV.
The downside of the above POST strategy is that the search filter can no longer be saved as searches are currently just bookmarks.
It would be great for Arches to be able to both handle filters that exceed maximum URL length, as well as being able to save such filters for future use.
The text was updated successfully, but these errors were encountered:
We ran into the same problem that became the genesis for #10529 . One thought I had was: do we really need to store every single search parameter in the URL? Is there an alternative where instead of passing them all into the URL, we hash them into a string value? Or better yet use the hash as a key and the query params as a value in cache?
When filtering resources, if the search filter is complex the maximum URL length can be easily exceeded (by definition I think it's about 2000 characters, however milage varies by browser). In our case it was originally observed when we implemented a filter-by-feature function where any arbitrary geometry in an overlay (which can be complex) could be used as a map filter. The same error can be achieved by generating a complex filter using Advanced Search.
We have implemented a workaround for the interactive search map filter page which submits the filter in the body of a POST rather than a GET if it exceeds maximum URL length, and I'm currently working on resolving a similar issue when exporting the results by CSV.
The downside of the above POST strategy is that the search filter can no longer be saved as searches are currently just bookmarks.
It would be great for Arches to be able to both handle filters that exceed maximum URL length, as well as being able to save such filters for future use.
The text was updated successfully, but these errors were encountered: