Re-add deleted code
This commit is contained in:
parent
d50e9b83f5
commit
516f45e8ad
|
@ -14,6 +14,10 @@ export function canBeDisplayColumn(column) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function canBeSortColumn(column) {
|
export function canBeSortColumn(column) {
|
||||||
|
if (!sharedCore.canBeSortColumn(column.type)) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
if (column.related) {
|
if (column.related) {
|
||||||
// If it's a related column (only available in the frontend), don't allow using it as display column
|
// If it's a related column (only available in the frontend), don't allow using it as display column
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in New Issue