mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
@@ -55,6 +55,7 @@ namespace Orchard.Widgets.Services {
|
||||
public IEnumerable<WidgetPart> GetOrphanedWidgets() {
|
||||
return _contentManager
|
||||
.Query<WidgetPart, WidgetPartRecord>()
|
||||
.Where<CommonPartRecord>(x => x.Container == null)
|
||||
.List();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user