|
|
@ -309,7 +309,7 @@ public abstract class AbpCrudPageBase< |
|
|
{ |
|
|
{ |
|
|
CurrentSorting = e.Columns |
|
|
CurrentSorting = e.Columns |
|
|
.Where(c => c.SortDirection != SortDirection.Default) |
|
|
.Where(c => c.SortDirection != SortDirection.Default) |
|
|
.Select(c => c.Field + (c.SortDirection == SortDirection.Descending ? " DESC" : "")) |
|
|
.Select(c => c.SortField + (c.SortDirection == SortDirection.Descending ? " DESC" : "")) |
|
|
.JoinAsString(","); |
|
|
.JoinAsString(","); |
|
|
CurrentPage = e.Page; |
|
|
CurrentPage = e.Page; |
|
|
|
|
|
|
|
|
@ -608,7 +608,8 @@ public abstract class AbpCrudPageBase< |
|
|
yield return new TableColumn |
|
|
yield return new TableColumn |
|
|
{ |
|
|
{ |
|
|
Title = lookupPropertyDefinition.GetLocalizedDisplayName(StringLocalizerFactory), |
|
|
Title = lookupPropertyDefinition.GetLocalizedDisplayName(StringLocalizerFactory), |
|
|
Data = $"ExtraProperties[{propertyInfo.Name}]" |
|
|
Data = $"ExtraProperties[{propertyInfo.Name}]", |
|
|
|
|
|
PropertyName = propertyInfo.Name |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
@ -616,7 +617,8 @@ public abstract class AbpCrudPageBase< |
|
|
var column = new TableColumn |
|
|
var column = new TableColumn |
|
|
{ |
|
|
{ |
|
|
Title = propertyInfo.GetLocalizedDisplayName(StringLocalizerFactory), |
|
|
Title = propertyInfo.GetLocalizedDisplayName(StringLocalizerFactory), |
|
|
Data = $"ExtraProperties[{propertyInfo.Name}]" |
|
|
Data = $"ExtraProperties[{propertyInfo.Name}]", |
|
|
|
|
|
PropertyName = propertyInfo.Name |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
if (propertyInfo.IsDate() || propertyInfo.IsDateTime()) |
|
|
if (propertyInfo.IsDate() || propertyInfo.IsDateTime()) |
|
|
|