Project

General

Profile

Actions

Bug #18024

closed

Hosts cannot be searched specifically by image name

Added by Dominic Cleal almost 8 years ago. Updated over 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 #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4175 added
Actions #2

Updated by Dominic Cleal almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Dominic Cleal almost 8 years ago

  • Translation missing: en.field_release set to 210
Actions

Also available in: Atom PDF