--HG--
branch : 1.x
This commit is contained in:
Dave Reed
2011-05-16 14:25:19 -07:00

View File

@@ -100,7 +100,7 @@ namespace Orchard.Core.Routable.Services {
public IEnumerable<IRoutableAspect> GetSimilarPaths(string path) {
return
_contentManager.Query().Join<RoutePartRecord>()
_contentManager.Query<RoutePart, RoutePartRecord>()
.List()
.Select(i => i.As<RoutePart>())
.Where(routable => routable.Path != null && routable.Path.StartsWith(path, StringComparison.OrdinalIgnoreCase))