mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
@@ -71,7 +71,7 @@ namespace Orchard.Core.Containers.Services {
|
||||
|
||||
public IContentQuery<ContainerPart> GetContainersQuery(VersionOptions options = null) {
|
||||
options = options ?? VersionOptions.Published;
|
||||
return _contentManager.Query<ContainerPart>(options);
|
||||
return _contentManager.Query<ContainerPart, ContainerPartRecord>(options);
|
||||
}
|
||||
|
||||
public ContainerPart Get(int id, VersionOptions options = null) {
|
||||
|
||||
Reference in New Issue
Block a user