Skip to content

Commit d387ed0

Browse files
committed
Cleanings
1 parent 98be3f8 commit d387ed0

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

code_gen/generated/codebase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"cache_by": "range",
99
"cache_type": "cacheable",
1010
"attributes": "wantsSearch|wantsEnter|wantsModify",
11+
"sorts": "address+Asc",
1112
"members": [
1213
{
1314
"name": "nMonitors",

code_gen/templates/classDefinitions/project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
doc_route = "0000-containers"
66
ui_route = "0000-project-1"
77
attributes = "wantsSearch|wantsEnter|wantsModify"
8+
sorts = "address+Asc"
89
# produced_by = "blocks"
910
# contains = "transaction, withdrawal"
1011
cache_type = "cacheable"

pkg/types/types_containerproject.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func NewProjectContainer(chain string, itemsIn []HistoryContainer) ProjectContai
4040
NItems: uint64(len(itemsIn)),
4141
Sorts: sdk.SortSpec{
4242
Fields: []string{"address"},
43-
Order: []sdk.SortOrder{"Asc},
43+
Order: []sdk.SortOrder{sdk.Asc},
4444
},
4545
Updater: NewProjectUpdater(chain, itemsIn),
4646
}

0 commit comments

Comments
 (0)