From db7c11265e6f158401a5c72f020ca7d9bd0ef748 Mon Sep 17 00:00:00 2001 From: Silas <67681686+Tqnsls@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:53:14 +0200 Subject: [PATCH] Update SyncRuleForm.php to improve understanding how booleans are interpreted The description was lacking a basic explanation on how to include booleans in the filter expression --- application/forms/SyncRuleForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/forms/SyncRuleForm.php b/application/forms/SyncRuleForm.php index d88e493df..aad0076b8 100644 --- a/application/forms/SyncRuleForm.php +++ b/application/forms/SyncRuleForm.php @@ -98,7 +98,7 @@ public function setup() 'Sync only part of your imported objects with this rule. Icinga Web 2' . ' filter syntax is allowed, so this could look as follows: %s' ), - '(host=a|host=b)&!ip=127.*' + '(host=a|host=b)&!ip=127.*&host_is_enabled=1' ) . ' ' . $this->translate( 'Be careful: this is usually NOT what you want, as it makes Sync "blind"' . ' for objects matching this filter. This means that "Purge" will not'