File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -697,10 +697,10 @@ export function mapApiInspectionsUrlParamsGet(options: GetInspectionsOptions): s
697
697
} ) ;
698
698
}
699
699
if ( options . sort ?. sortByProperty ) {
700
- params . append ( 'sort_by_property ' , options . sort . sortByProperty ) ;
700
+ params . append ( 'order_by ' , options . sort . sortByProperty ) ;
701
701
}
702
702
if ( options . sort ?. sortOrder ) {
703
- params . append ( 'sort_order ' , options . sort . sortOrder . toString ( ) ) ;
703
+ params . append ( 'pagination_order ' , options . sort . sortOrder . toString ( ) ) ;
704
704
}
705
705
return `${ url } ${ params . toString ( ) } ` ;
706
706
}
Original file line number Diff line number Diff line change @@ -76,8 +76,3 @@ export interface ApiInspectionPost {
76
76
vehicle ?: ApiVehiclePostPatch ;
77
77
damage_severity ?: ApiDamageSeverity ;
78
78
}
79
-
80
- export interface ApiInspectionsSortRequest {
81
- sort_by_property ?: string ;
82
- sort_drder ?: SortOrder ;
83
- }
You can’t perform that action at this time.
0 commit comments