mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#19797: Selecting a specific content type doesn't show anything in frontend en resulted in exception.
Work Item: 19797 --HG-- branch : 1.x
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Orchard.Taxonomies.Drivers {
|
||||
var results = query.Join<CommonPartRecord>().OrderByDescending(orderBy);
|
||||
|
||||
if(!String.IsNullOrWhiteSpace(part.ContentType)) {
|
||||
results = results.Where(x => x.ContentItemRecord.ContentType.Name == part.ContentType);
|
||||
results = results.ForType(part.ContentType).Join<CommonPartRecord>();
|
||||
}
|
||||
|
||||
// build the Summary display for each content item
|
||||
|
Reference in New Issue
Block a user