From c2ecb5d582d370988f2d994ead0e83906cf92d18 Mon Sep 17 00:00:00 2001
From: Thomas Steur <tsteur@users.noreply.github.com>
Date: Thu, 30 Jul 2015 16:12:11 +0200
Subject: [PATCH] added comment re priority

---
 .../angularjs/common/directives/autocomplete-matched.js       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/CoreHome/angularjs/common/directives/autocomplete-matched.js b/plugins/CoreHome/angularjs/common/directives/autocomplete-matched.js
index f371d1eda9..c1f5660a78 100644
--- a/plugins/CoreHome/angularjs/common/directives/autocomplete-matched.js
+++ b/plugins/CoreHome/angularjs/common/directives/autocomplete-matched.js
@@ -23,7 +23,7 @@
     function piwikAutocompleteMatched(piwik) {
 
         return {
-            priority: 10, // makes sure to render after other directives
+            priority: 10, // makes sure to render after other directives, otherwise the content might be overwritten again see https://github.com/piwik/piwik/pull/8467
             link: function (scope, element, attrs) {
                 var searchTerm;
 
@@ -50,4 +50,4 @@
             }
         };
     }
-})();
\ No newline at end of file
+})();
-- 
GitLab