From ce3f83ed8afb23d4b8de0881b84c97499a04c5e6 Mon Sep 17 00:00:00 2001 From: Zhang Sheng Date: Tue, 21 May 2024 19:23:17 +0800 Subject: [PATCH] feat: more web formats supported as title Log: as title --- debian/changelog | 7 +++++++ .../searchmanager/searcher/fulltext/fulltextsearcher.cpp | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index c1825500b3..1576da8bea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +dde-file-manager (6.0.51) unstable; urgency=medium + + * 6.0.51 + * + + -- zhangsheng Tue, 21 May 2024 19:21:50 +0800 + dde-file-manager (6.0.50) unstable; urgency=medium * new AM adapt. diff --git a/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher.cpp b/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher.cpp index dcbeaaeebc..358f25481e 100644 --- a/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher.cpp +++ b/src/plugins/filemanager/dfmplugin-search/searchmanager/searcher/fulltext/fulltextsearcher.cpp @@ -34,8 +34,8 @@ static constexpr char kFilterFolders[] = "^/(boot|dev|proc|sys|run|lib|usr).*$"; static constexpr char kSupportFiles[] = "(rtf)|(odt)|(ods)|(odp)|(odg)|(docx)|(xlsx)|(pptx)|(ppsx)|(md)|" "(xls)|(xlsb)|(doc)|(dot)|(wps)|(ppt)|(pps)|(txt)|(pdf)|(dps)|" - "(sh)|(html)|(xml)|(xhtml)|(json)|(css)|(yaml)|(ini)|(bat)|" - "(js)|(sql)|(uof)|(ofd)"; + "(sh)|(html)|(htm)|(xml)|(xhtml)|(dhtml)|(shtm)|(shtml)|" + "(json)|(css)|(yaml)|(ini)|(bat)|(js)|(sql)|(uof)|(ofd)"; static int kMaxResultNum = 100000; // 最大搜索结果数 static int kEmitInterval = 50; // 推送时间间隔