Skip to content

Allow setting the query string programatically #52522

@lizozom

Description

@lizozom

This is a follow up on #44377

At the moment, developers may use the following APIs:

const { filterManager, timefilter } = data.query;
filterManager.setFilters(...);
timefilter.timefilter.setTime(...);

To gain programmatic access to the modify SearchBar settings.

However, the value of the query string is inaccessible and is held by each application only.
As a result, there is no way to programmatically change it (and there were frequent requests to enable this behavior).

There should be an additional API to get \ set \ clear the query string.

const { queryString } = data.query;
queryString.get(...);
queryString.set(...);
queryString.clear(...);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions