From 1e044e9963a6e49c6cbb01bd022a40041bcdd84a Mon Sep 17 00:00:00 2001 From: Guillaume28 <gbaldo@centreon.com> Date: Mon, 5 Mar 2018 15:08:22 +0100 Subject: [PATCH] fix(HTPL): Export with filters --- www/class/centreon-clapi/centreonServiceTemplate.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/www/class/centreon-clapi/centreonServiceTemplate.class.php b/www/class/centreon-clapi/centreonServiceTemplate.class.php index 7cb8cb3bc7..85886591a3 100644 --- a/www/class/centreon-clapi/centreonServiceTemplate.class.php +++ b/www/class/centreon-clapi/centreonServiceTemplate.class.php @@ -1049,6 +1049,7 @@ class CentreonServiceTemplate extends CentreonObject "AND" ); foreach ($helements as $helement) { + $this->api->export_filter('HOST', $helement['host_id'], $helement['host_name']); echo $this->action . $this->delim . "addhosttemplate" . $this->delim . $helement['service_description'] . $this->delim -- GitLab