Actions
Feature #14424
closedAllow plugin widgets to hook into the dashboard search box
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Dashboard
Target version:
-
Description
In Foreman, plugins can add widgets to the dashboard but it doesn't look like there is a way to easily add search fields to the search box on the dashboard page.
Updated by David Davis over 8 years ago
- Blocks Bug #14425: Dashboard search box does not work for katello widgets added
Updated by David Davis over 8 years ago
An easy test for this would be to install foreman_discovery and then do a search. The search should filter the list of discovered hosts on the foreman_discovery widget.
Updated by David Davis over 8 years ago
- Subject changed from Allow widgets to plug into the search box to Allow plugin widgets to hook into the search box
Updated by David Davis over 8 years ago
- Subject changed from Allow plugin widgets to hook into the search box to Allow plugin widgets to hook into the dashboard search box
Updated by Tomer Brisker about 8 years ago
- Status changed from New to Duplicate
The search parameters are now passed on to the widgets. They are also available for widgets on the `@data` instance variable as `@data.filter`. Filtered and authorized hosts are also available as `@data.hosts`.
Updated by Tomer Brisker about 8 years ago
- Is duplicate of Bug #16702: dashboard widgets ignore filters added
Actions