Browse Source
Merge pull request #20952 from javedahmedone/dev
#20923 - AbpCrudPageBase sorting is implemented on SortIndex
pull/20976/head
maliming
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
framework/src/Volo.Abp.BlazoriseUI/AbpCrudPageBase.cs
|
|
|
@ -319,6 +319,7 @@ public abstract class AbpCrudPageBase< |
|
|
|
{ |
|
|
|
CurrentSorting = e.Columns |
|
|
|
.Where(c => c.SortDirection != SortDirection.Default) |
|
|
|
.OrderBy(c => c.SortIndex) |
|
|
|
.Select(c => c.SortField + (c.SortDirection == SortDirection.Descending ? " DESC" : "")) |
|
|
|
.JoinAsString(","); |
|
|
|
CurrentPage = e.Page; |
|
|
|
|