Gets searching working in the dashboard, updates to latest examine

This commit is contained in:
Shannon
2018-12-04 14:25:37 +11:00
parent fce5b29b1c
commit 56d1a317c0
29 changed files with 235 additions and 147 deletions

View File

@@ -319,7 +319,7 @@ namespace Umbraco.Web.Trees
menuItem.OpensDialog = opensDialog;
}
public IEnumerable<SearchResultItem> Search(string query, int pageSize, long pageIndex, out long totalFound, string searchFrom = null)
public IEnumerable<SearchResultEntity> Search(string query, int pageSize, long pageIndex, out long totalFound, string searchFrom = null)
{
return _treeSearcher.ExamineSearch(query, UmbracoEntityTypes.Document, pageSize, pageIndex, out totalFound, searchFrom);
}