From 9a1af4d0a40a56771a8218d4b1db681f0a44a8b1 Mon Sep 17 00:00:00 2001 From: Yuri Rudman Date: Tue, 7 Aug 2018 18:27:11 -0400 Subject: [PATCH] do not show orphaned Hosts as running --- db/fixtures/miq_searches.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/db/fixtures/miq_searches.yml b/db/fixtures/miq_searches.yml index 6e4490c4140d..4774ace314ca 100644 --- a/db/fixtures/miq_searches.yml +++ b/db/fixtures/miq_searches.yml @@ -333,9 +333,13 @@ description: Status / Running filter: !ruby/object:MiqExpression exp: - INCLUDES: - field: Host-power_state - value: "on" + and: + - INCLUDES: + field: Host-power_state + value: "on" + - "=": + filed: Host-archived + value: "true" search_type: default db: Host - attributes: @@ -385,9 +389,13 @@ description: Status / Running filter: !ruby/object:MiqExpression exp: - INCLUDES: - field: Host-power_state - value: "on" + and: + - INCLUDES: + field: Host-power_state + value: "on" + - "=": + filed: Host-archived + value: "true" search_type: default db: Host - attributes: