Skip to content

Commit

Permalink
UBER-628: allow reordering when sort is set to manual in the same gro…
Browse files Browse the repository at this point in the history
…up (#3553)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
  • Loading branch information
ThetaDR authored Aug 3, 2023
1 parent 5b12150 commit e4a4630
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
if (groupValue === undefined) {
return undefined
}
if ((doc as any)[groupByKey] === groupValue) {
if ((doc as any)[groupByKey] === groupValue && viewOptions.orderBy[0] !== 'rank') {
return
}
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
if (groupValue === undefined) {
return undefined
}
if ((doc as any)[groupByKey] === groupValue) {
if ((doc as any)[groupByKey] === groupValue && viewOptions.orderBy[0] !== 'rank') {
return
}
return {
Expand Down

0 comments on commit e4a4630

Please sign in to comment.