Project

General

Profile

Actions

Bug #18024

closed

Hosts cannot be searched specifically by image name

Added by Dominic Cleal over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Search
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Host::Managed has a search defined for image names:

scoped_search :relation => :image, :on => :name, :complete_value => true

But it's only accessible with free text search by searching for just the image name. It should be possible to search specifically for image = foo as well.

Currently this definition registers the search field name (from :on) rather than an alias such as image or image_name. As name is used by host.name, no new field name is added for it.

Actions

Also available in: Atom PDF