Skip to content

Commit

Permalink
fix(fts): rename order by input type name (#4922)
Browse files Browse the repository at this point in the history
  • Loading branch information
Weakky authored Jun 24, 2024
1 parent 9f3337c commit 5677c5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
{
"name": "orderBy",
"typeNames": [
"UserOrderByWithRelationAndSearchRelevanceInput[]",
"UserOrderByWithRelationAndSearchRelevanceInput"
"UserOrderByWithRelationInput[]",
"UserOrderByWithRelationInput"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ impl OrderByOptions {
self.include_scalar_aggregations,
self.include_full_text_search,
) {
(true, false, false) => "WithRelation",
(true, false, _) => "WithRelation",
(false, true, false) => "WithAggregation",
(true, false, true) => "WithRelationAndSearchRelevance",
_ => "",
}
}
Expand Down

0 comments on commit 5677c5d

Please sign in to comment.