Skip to content

Commit 6584eaa

Browse files
committed
undo
1 parent 4ee83b8 commit 6584eaa

File tree

1 file changed

+5
-2
lines changed
  • services/web/server/src/simcore_service_webserver/licenses

1 file changed

+5
-2
lines changed

services/web/server/src/simcore_service_webserver/licenses/_models.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ class LicensedItemsPurchasesPathParams(StrictRequestParameters):
6868
RequestParameters
6969
] = create_ordering_query_model_class(
7070
ordering_fields={
71-
"started_at",
71+
"purchased_at",
72+
"modified_at",
73+
"name",
7274
},
73-
default=OrderBy(field=IDStr("started_at"), direction=OrderDirection.DESC),
75+
default=OrderBy(field=IDStr("purchased_at"), direction=OrderDirection.DESC),
76+
ordering_fields_api_to_column_map={"modified_at": "modified"},
7477
)
7578

7679

0 commit comments

Comments
 (0)