Commit cbd162b
authored
Allow sort of children by name and create date (#17904)
* Added create date to document and media children endpoints.
* Sort by name or create date for documents and media.
* Fix build issues.
* Only render column headers for sorting if all pages of children are loaded.
* Add indicator and debounce sorting by column headers.1 parent e425f0b commit cbd162b
File tree
21 files changed
+224
-16
lines changed- src
- Umbraco.Cms.Api.Management
- Controllers
- Document/Tree
- Media/Tree
- RecycleBin
- ViewModels
- RecycleBin
- Tree
- Umbraco.Web.UI.Client/src
- external/backend-api/src
- mocks/data
- document-blueprint
- document
- media
- packages
- core/tree/entity-actions/sort-children-of
- modal
- documents/documents
- recycle-bin/tree
- tree
- media/media
- recycle-bin/tree
- tree
21 files changed
+224
-16
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36901 | 36901 | | |
36902 | 36902 | | |
36903 | 36903 | | |
| 36904 | + | |
36904 | 36905 | | |
36905 | 36906 | | |
36906 | 36907 | | |
| |||
36912 | 36913 | | |
36913 | 36914 | | |
36914 | 36915 | | |
| 36916 | + | |
| 36917 | + | |
| 36918 | + | |
| 36919 | + | |
36915 | 36920 | | |
36916 | 36921 | | |
36917 | 36922 | | |
| |||
37040 | 37045 | | |
37041 | 37046 | | |
37042 | 37047 | | |
| 37048 | + | |
37043 | 37049 | | |
37044 | 37050 | | |
37045 | 37051 | | |
| |||
37071 | 37077 | | |
37072 | 37078 | | |
37073 | 37079 | | |
| 37080 | + | |
| 37081 | + | |
| 37082 | + | |
| 37083 | + | |
37074 | 37084 | | |
37075 | 37085 | | |
37076 | 37086 | | |
| |||
39014 | 39024 | | |
39015 | 39025 | | |
39016 | 39026 | | |
| 39027 | + | |
39017 | 39028 | | |
39018 | 39029 | | |
39019 | 39030 | | |
| |||
39025 | 39036 | | |
39026 | 39037 | | |
39027 | 39038 | | |
| 39039 | + | |
| 39040 | + | |
| 39041 | + | |
| 39042 | + | |
39028 | 39043 | | |
39029 | 39044 | | |
39030 | 39045 | | |
| |||
39141 | 39156 | | |
39142 | 39157 | | |
39143 | 39158 | | |
| 39159 | + | |
39144 | 39160 | | |
39145 | 39161 | | |
39146 | 39162 | | |
| |||
39171 | 39187 | | |
39172 | 39188 | | |
39173 | 39189 | | |
| 39190 | + | |
| 39191 | + | |
| 39192 | + | |
| 39193 | + | |
39174 | 39194 | | |
39175 | 39195 | | |
39176 | 39196 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
| 676 | + | |
676 | 677 | | |
677 | 678 | | |
678 | 679 | | |
| |||
702 | 703 | | |
703 | 704 | | |
704 | 705 | | |
| 706 | + | |
705 | 707 | | |
706 | 708 | | |
707 | 709 | | |
| |||
1196 | 1198 | | |
1197 | 1199 | | |
1198 | 1200 | | |
| 1201 | + | |
1199 | 1202 | | |
1200 | 1203 | | |
1201 | 1204 | | |
| |||
1223 | 1226 | | |
1224 | 1227 | | |
1225 | 1228 | | |
| 1229 | + | |
1226 | 1230 | | |
1227 | 1231 | | |
1228 | 1232 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
601 | 603 | | |
602 | 604 | | |
603 | 605 | | |
| 606 | + | |
604 | 607 | | |
605 | 608 | | |
606 | 609 | | |
| |||
734 | 737 | | |
735 | 738 | | |
736 | 739 | | |
| 740 | + | |
737 | 741 | | |
738 | 742 | | |
739 | 743 | | |
| |||
822 | 826 | | |
823 | 827 | | |
824 | 828 | | |
| 829 | + | |
825 | 830 | | |
826 | 831 | | |
827 | 832 | | |
| |||
869 | 874 | | |
870 | 875 | | |
871 | 876 | | |
| 877 | + | |
872 | 878 | | |
873 | 879 | | |
874 | 880 | | |
| |||
938 | 944 | | |
939 | 945 | | |
940 | 946 | | |
| 947 | + | |
941 | 948 | | |
942 | 949 | | |
943 | 950 | | |
| |||
0 commit comments