Hi,
Can I check it remotely? shiwei.liang@volosoft.com
Hi,
I will check it out.
Hi,
Can I check it remotely? shiwei.liang@volosoft.com
Hi,
I find a way to show the UI, it can work with https://support.abp.io/QA/Questions/1613#answer-4bbf3269-2b57-ae99-3c1d-39fde434f0fb
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(AuditLogsAppService), typeof(IAuditLogsAppService))]
public class MyAuditLogsAppService : AuditLogsAppService
{
public MyAuditLogsAppService(IAuditLogRepository auditLogRepository, IJsonSerializer jsonSerializer, IPermissionChecker permissionChecker, IPermissionDefinitionManager permissionDefinitionManager) : base(auditLogRepository, jsonSerializer, permissionChecker, permissionDefinitionManager)
{
}
public override async Task<AuditLogDto> GetAsync(Guid id)
{
var log = await AuditLogRepository.GetAsync(id);
return ObjectMapper.Map<AuditLog, AuditLogDto>(log);
}
}
Hi,
Thanks, we will consider it.
Hi,
You can refer to the following code:
$(function(){
function setPage(){
$(".page-link").click(function(){
var url = $(this).attr("page-href");
$.ajax({
url:url,
dataType:"html"
}).done(function(result){
$("$YourModelId").html(result);
setPage();
})
})
}
setPage();
})
<div class="row mt-3">
<div class="col-sm-12 col-md-5"> Showing 1 to 10 of 216 entries</div>
<div class="col-sm-12 col-md-7">
<nav aria-label="Page navigation">
<ul class="pagination justify-content-end">
<li class="page-item disabled">
<a tabindex="-1" class="page-link" page-href="/Resvoyage/HotelSearch/HotelSearchModal?id=6c6e5e1a-d82d-e402-667a-39fda21caa9e¤tPage=1">Previous</a>
</li>
<li class="page-item active">
<span class="page-link">
1
<span class="sr-only">(current)</span>
</span>
</li>
<li class="page-item ">
<a tabindex="-1" class="page-link" page-href="/Resvoyage/HotelSearch/HotelSearchModal?id=6c6e5e1a-d82d-e402-667a-39fda21caa9e¤tPage=2">2</a>
</li>
</ul>
<!-- nav-->
</nav>
</div></div>
Hi,
I have checked the source code, and yes, this is by design. you can not truncate the Parameters
.
You can use the change Parameters
max length for the solution:
public class MigrationDbContext
{
......
protected override void OnModelCreating(ModelBuilder builder)
{
.......
builder.Entity<AuditLogAction>(b =>
{
b.Property(x => x.Parameters).HasMaxLength(int.MaxValue);
});
}
}
HI,
You should send a Ajax request when click page button.
e.g:
$(function(){
$(".pagedButton").click(function(){
$.ajax({
...
}).done(function(result){
$(".travelModel").html(result);
})
})
})
Hi,
But now the Frontend crashes (Blazor), because the Page (AuditLogs -> Action -> Details) seems to expect a valid JSON:
Can you provide steps to reproduce? thanks.