Project

General

Profile

Actions

Feature #218

closed

Ability to search by class

Added by Bash Shell over 14 years ago. Updated over 14 years ago.

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

Description

It would be nice to be able to search by class.

A simple change to app/views/hosts/index.html.erb seems to achieve this:

diff foreman/app/views/hosts/index.html.erb fore1/app/views/hosts/index.html.erb
20a21,22
>           <%= f.label :puppetclasses, "Class" %>
>           <%= f.collection_select :puppetclasses_id_equals, Puppetclass.all, :id, :name, :include_blank => true %>
Actions

Also available in: Atom PDF