mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#20479 fixing issue with initial child folders using wrong path
This commit is contained in:

committed by
Sebastien Ros

parent
0694e07703
commit
d59166fcd9
@@ -49,7 +49,7 @@ namespace Orchard.MediaLibrary.Controllers {
|
|||||||
var viewModel = new MediaManagerIndexViewModel {
|
var viewModel = new MediaManagerIndexViewModel {
|
||||||
DialogMode = dialog,
|
DialogMode = dialog,
|
||||||
FolderPath = folderPath,
|
FolderPath = folderPath,
|
||||||
ChildFoldersViewModel = new MediaManagerChildFoldersViewModel{Children = _mediaLibraryService.GetMediaFolders(folderPath)},
|
ChildFoldersViewModel = new MediaManagerChildFoldersViewModel{Children = _mediaLibraryService.GetMediaFolders(null)},
|
||||||
MediaTypes = _mediaLibraryService.GetMediaTypes(),
|
MediaTypes = _mediaLibraryService.GetMediaTypes(),
|
||||||
CustomActionsShapes = explorerShape.Actions,
|
CustomActionsShapes = explorerShape.Actions,
|
||||||
CustomNavigationShapes = explorerShape.Navigation,
|
CustomNavigationShapes = explorerShape.Navigation,
|
||||||
|
Reference in New Issue
Block a user