Project

General

Profile

Actions

Feature #14424

closed

Allow plugin widgets to hook into the dashboard search box

Added by David Davis over 8 years ago. Updated about 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Dashboard
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 2 (1 open1 closed)

Is duplicate of Foreman - Bug #16702: dashboard widgets ignore filtersClosedTomer Brisker09/27/2016Actions
Blocks Katello - Bug #14425: Dashboard search box does not work for katello widgetsNewActions
Actions #1

Updated by David Davis over 8 years ago

  • Blocks Bug #14425: Dashboard search box does not work for katello widgets added
Actions #2

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.

Actions #3

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
Actions #4

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
Actions #5

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`.

Actions #6

Updated by Tomer Brisker about 8 years ago

  • Is duplicate of Bug #16702: dashboard widgets ignore filters added
Actions

Also available in: Atom PDF