mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +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