Feature #218
Ability to search by class
| Status: | Closed | Start: | 04/19/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 100% |
||
| Category: | Web Interface | |||
| Target version: | 0.1-6 | |||
| Backlog: | Difficulity: | |||
| Votes: | 0 |
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 %>
Associated revisions
Revision 95a502b56232ec2969764aa90f8bda7b7b433b69
Fixes #218 - Search hosts by puppetclass
History
Updated by Ohad Levy over 1 year ago
- Category set to Web Interface
- Assigned to set to Paul Kelly
- Target version set to 0.1-6
Updated by Paul Kelly over 1 year ago
- Status changed from New to Ready For Testing
- Branch set to feature/218-search-by-puppetclass
Added this feature, as requested by bash shell, to the _search_line for hosts.
Updated by Paul Kelly over 1 year ago
- % Done changed from 0 to 100
Applied in changeset 95a502b56232ec2969764aa90f8bda7b7b433b69.
Updated by Ohad Levy over 1 year ago
- Status changed from Ready For Testing to Closed
Updated by Bash Shell over 1 year ago
I was just testing this.
It works if the Class was added to the host individually.
It doesn't work if the Class was included via Hostgroup.
Is there any way to address this?
