Add URL query strings to DataCatalogView for search type(list or map) and query
#1 Updated by Lauren Walker over 7 years ago
- Status changed from New to Resolved
I added two new URL parameters to the Backbone routers - mode and query
mode specifies either map or list - so that the data view can load as in either mode initially, as opposed to switching after the page loads. When list mode is specified, or when list is the default mode in the appModel, the map does not load and markers are not mapped in the background.
query specifies a custom query to send, using Solr syntax. This query is inserted into the "q" Solr parameter, so valid syntax examples are:
If both parameters are used at once, they need to be in that order (mode, query)