From 0a207e4e52c5016fb86522d9f4ee3606c80e73e3 Mon Sep 17 00:00:00 2001 From: luukkainen Date: Thu, 17 Oct 2013 12:07:04 +0000 Subject: [PATCH] Filtering search engines refs #4452 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27991 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../org/simantics/sysdyn/ui/function/ModulesSearchFunction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/function/ModulesSearchFunction.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/function/ModulesSearchFunction.java index 5b294de2..5bcf7e71 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/function/ModulesSearchFunction.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/function/ModulesSearchFunction.java @@ -60,7 +60,7 @@ public class ModulesSearchFunction extends FunctionImpl5 apply(IProgressMonitor monitor, ReadGraph graph, Resource model, SearchQuery query, Integer maxResults) { try { // Check whether only currently open diagram is searched - String filteredQuery = query.getQuery(); + String filteredQuery = query.getQuery("Name","Types"); Collection> results = Searching.performSearch(graph, Layer0X.getInstance(graph).Dependencies, model, filteredQuery, MAX_RESULTS); if (!query.getSearchParams().contains(FindSearchTrim.CURRENT_DIAGRAM_OPTION)) -- 2.47.1