Project

General

Profile

Feature #6400

Add URL query strings to DataCatalogView for search type(list or map) and query

Added by Lauren Walker over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

History

#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:

/query=+id:solson
/query=&fq=id:solson
/query=solson

If both parameters are used at once, they need to be in that order (mode, query)

Also available in: Atom PDF