mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Merge pull request #5276 from mvarblow/mvarblow-patch-5275
Mvarblow patch 5275
This commit is contained in:
@@ -59,10 +59,11 @@ namespace Orchard.Search.Controllers {
|
||||
|
||||
var viewModel = new MediaManagerMediaItemsViewModel {
|
||||
MediaItems = mediaItems,
|
||||
MediaItemsCount = mediaPartsCount
|
||||
MediaItemsCount = mediaPartsCount,
|
||||
FolderPath = folderPath
|
||||
};
|
||||
|
||||
return View(viewModel);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -17,8 +17,9 @@
|
||||
mimeTypeClass = x.MediaPart.MimeType.HtmlClassify(),
|
||||
thumbnail = Display(x.Shape).ToString(),
|
||||
editLink = Url.ItemEditUrl(x.MediaPart)
|
||||
}).ToArray()
|
||||
}).ToArray(),
|
||||
folderPath = Model.FolderPath
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user