Skip to content

Search Plugin configuration defined by UI in a context is not retained in map created from the same context #10768

@MV88

Description

@MV88

Description

When creating the map the custom search service returns results but as soon as the page is refreshed the custom search service is lost.
Also, when investigating the map-created-from-context configuration, the custom service seems to be present in the configuration but it just won't work in the UI, when the search term is inserted in the text box no results from the custom service is returned.

How to reproduce

  1. Create a simple context including a custom search service from the UI (using the 'cog' icon button) once the context is created.
  2. Implement a custom search service (see images 1 and 2 attached)
  3. Try to input a relevant search term on the text box for the custom search service.
  4. Observe that relevant results for the custom search service are returned
  5. Save such context as a map and observe that the search service returns results from the custom search service
  6. Refresh the map and observe how now the search service will not return any result from the custom search service.

Expected Result

The expected result would be that the custom search service would still be retained, in fact investigating the created map on the Dev tools the custom search configuration is present in the services array of text search config entry for the context see image attached.

The wanted result would be the defined search service to be retained when the context is saved as map.
Current Result

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions