feat(centralui): Bundle Import filter on ConfigurationAuditLog page
This commit is contained in:
@@ -104,6 +104,7 @@ public class CentralUiRepository : ICentralUiRepository
|
||||
DateTimeOffset? to = null,
|
||||
string? entityId = null,
|
||||
string? entityName = null,
|
||||
Guid? bundleImportId = null,
|
||||
int page = 1,
|
||||
int pageSize = 50,
|
||||
CancellationToken cancellationToken = default)
|
||||
@@ -131,6 +132,9 @@ public class CentralUiRepository : ICentralUiRepository
|
||||
if (!string.IsNullOrWhiteSpace(entityName))
|
||||
query = query.Where(a => a.EntityName.Contains(entityName));
|
||||
|
||||
if (bundleImportId is Guid bundleId)
|
||||
query = query.Where(a => a.BundleImportId == bundleId);
|
||||
|
||||
var totalCount = await query.CountAsync(cancellationToken);
|
||||
|
||||
var entries = await query
|
||||
|
||||
Reference in New Issue
Block a user