[icinga-checkins] icinga.org: icingaweb2-module-elasticsearch/master: Add and integrate FieldSelector widget (fixup)

git at icinga.org git at icinga.org
Thu Jun 30 17:08:10 CEST 2016


Module: icingaweb2-module-elasticsearch
Branch: master
Commit: fcaaee9a57f7700e22a98126b8a7ea243c1508f9
URL:    https://git.icinga.org/?p=icingaweb2-module-elasticsearch.git;a=commit;h=fcaaee9a57f7700e22a98126b8a7ea243c1508f9

Author: Markus Frosch <lazyfrosch at icinga.org>
Date:   Fri Jun  3 14:08:16 2016 +0200

Add and integrate FieldSelector widget (fixup)

refs #11884

---

 application/views/scripts/event/search.phtml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/views/scripts/event/search.phtml b/application/views/scripts/event/search.phtml
index 33c48a0..1a3d318 100644
--- a/application/views/scripts/event/search.phtml
+++ b/application/views/scripts/event/search.phtml
@@ -13,7 +13,7 @@
 <div class="content">
     <?php if (property_exists($this, 'error')): ?>
         <h3><?= $this->error?></h3>
-    <?php elseif (empty($this->hits)): ?>
+    <?php elseif (empty($this->events)): ?>
         <p>No results found!</p>
     <?php else: ?>
         <?php $this->fields = $this->fieldSelector->getFields(); ?>



More information about the icinga-checkins mailing list