|
|
|
@ -1,5 +1,6 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Linq; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
|
using Microsoft.Extensions.Options; |
|
|
|
@ -44,7 +45,7 @@ namespace Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Commenting |
|
|
|
EntityId = entityId, |
|
|
|
EntityType = entityType, |
|
|
|
LoginUrl = loginUrl, |
|
|
|
Comments = result.Items |
|
|
|
Comments = result.Items.OrderByDescending(i=> i.CreationTime).ToList() |
|
|
|
}; |
|
|
|
|
|
|
|
return View("~/Pages/CmsKit/Shared/Components/Commenting/Default.cshtml", viewModel); |
|
|
|
|