mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 11:42:30 +03:00
UBER-628: allow reordering when sort is set to manual in the same group (#3553)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
5b12150366
commit
e4a4630ee2
@ -218,7 +218,7 @@
|
|||||||
if (groupValue === undefined) {
|
if (groupValue === undefined) {
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
if ((doc as any)[groupByKey] === groupValue) {
|
if ((doc as any)[groupByKey] === groupValue && viewOptions.orderBy[0] !== 'rank') {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
@ -242,7 +242,7 @@
|
|||||||
if (groupValue === undefined) {
|
if (groupValue === undefined) {
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
if ((doc as any)[groupByKey] === groupValue) {
|
if ((doc as any)[groupByKey] === groupValue && viewOptions.orderBy[0] !== 'rank') {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user