diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/FieldListAutoCompleteDropdown.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/FieldListAutoCompleteDropdown.vue index 20fd185de0..2266c38b05 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/FieldListAutoCompleteDropdown.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/FieldListAutoCompleteDropdown.vue @@ -54,7 +54,7 @@ const options = computed(() => ?.filter((c: ColumnType) => { /** ignore hasmany and manytomany relations if it's using within sort menu */ if (isSort) { - return ( + return !( c.uidt === UITypes.LinkToAnotherRecord && (c.colOptions as LinkToAnotherRecordType).type !== RelationTypes.BELONGS_TO ) /** ignore vutual fields which are system fields ( mm relation ) */