You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/07/20 06:43:16 UTC

[incubator-echarts-doc] branch master updated: fix search result display

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git


The following commit(s) were added to refs/heads/master by this push:
     new 4501a60  fix search result display
4501a60 is described below

commit 4501a6076f95fbb3ff302c0951b26cf04ad4c60c
Author: pissang <bm...@gmail.com>
AuthorDate: Mon Jul 20 14:43:00 2020 +0800

    fix search result display
---
 src/docHelper.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/docHelper.js b/src/docHelper.js
index 71d5778..1c1ba88 100644
--- a/src/docHelper.js
+++ b/src/docHelper.js
@@ -135,7 +135,7 @@ function createIndexer(map, pagePath) {
     for (let path in map) {
         list.push({
             path: pagePath ? (pagePath + '.' + path) : path,
-            content: map[path],
+            content: map[path].desc,
             text: stripHtml(map[path].desc)
         });
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org