Bug #18024

Hosts cannot be searched specifically by image name

Added by Dominic Cleal 7 months ago. Updated 6 months ago.

Assigned To:Dominic Cleal
Target version:-
Difficulty: Bugzilla link:
Found in release:nightly Pull request:https://github.com/theforeman/foreman/pull/4175
Story points-
Velocity based estimate-
Release1.14.1Release relationshipAuto


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.

Associated revisions

Revision 917054f2
Added by Dominic Cleal 7 months ago

fixes #18024 - add 'image' search field to hosts


#1 Updated by The Foreman Bot 7 months ago

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

#2 Updated by Dominic Cleal 7 months ago

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

#3 Updated by Dominic Cleal 6 months ago

  • Release set to 1.14.1

Also available in: Atom PDF