Innovate-Inc / EDG_metadata

EDG metadata on staging created for Innovate-Inc
0 stars 1 forks source link

Fix character encoding in "see more" link #42

Closed torrin47 closed 8 years ago

torrin47 commented 8 years ago

I think we didn't pursue this issue because it was linking to staging where we didn't expect the search to work, but now that we've updated the data in staging, it's more apparent. The see more link submits the http-encoded version of the search string: sys.collection%3a%22%7b9B7778AC-DE79-287A-2A79-F05863C8A212%7d%22 which the EDG search apparently can't handle properly (unless it's in an actual URL being interpreted as a REST query) so when triggering a search on the search page, the "See More" link needs to submit this equivalent version: sys.collection:"{9B7778AC-DE79-287A-2A79-F05863C8A212}"