Fixes ISearchableTree lifetime registration, fixes routing that clears required query strings, fixes lucene search string, gets URls in search results working with default lang/variants

This commit is contained in:
Shannon
2018-12-11 15:42:32 +11:00
parent 9b52fa215f
commit 5148f34b32
11 changed files with 78 additions and 69 deletions

View File

@@ -21,5 +21,8 @@ namespace Umbraco.Web.Search
{
return new SearchableTreeCollection(CreateItems(), _treeService);
}
//per request because generally an instance of ISearchableTree is a controller
protected override ILifetime CollectionLifetime => new PerRequestLifeTime();
}
}