File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ def datasets(self) -> Optional[List["TypeDataset"]]:
8888 """Get datasets associated with this collaborative."""
8989 try :
9090 # Return raw Django objects and let Strawberry handle conversion
91- queryset = self .datasets .all ().order_by ("modified" ) # type: ignore
91+ queryset = self .datasets .all ().order_by ("- modified" ) # type: ignore
9292 if not queryset .exists ():
9393 return []
9494 return TypeDataset .from_django_list (queryset )
@@ -99,7 +99,7 @@ def datasets(self) -> Optional[List["TypeDataset"]]:
9999 def use_cases (self ) -> Optional [List ["TypeUseCase" ]]:
100100 """Get use cases associated with this collaborative."""
101101 try :
102- queryset = self .use_cases .all ().order_by ("modified" ) # type: ignore
102+ queryset = self .use_cases .all ().order_by ("- modified" ) # type: ignore
103103 if not queryset .exists ():
104104 return []
105105 return TypeUseCase .from_django_list (queryset )
You can’t perform that action at this time.
0 commit comments